• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -verify %s
2 
3 // PR12223
4 namespace test1 {
5   namespace N {
6     extern "C" void f(struct S*);
7     void g(S*);
8   }
9   namespace N {
f(struct S * s)10     void f(struct S *s) {
11       g(s);
12     }
13   }
14 }
15 
16 // PR10447
17 namespace test2 {
18   extern "C" {
f(struct Bar *)19     void f(struct Bar*) { }
20     test2::Bar *ptr;
21   }
22 }
23