1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
23 lines
296 B
C++
23 lines
296 B
C++
// RUN: %clang_cc1 -verify %s
|
|
|
|
// PR12223
|
|
namespace test1 {
|
|
namespace N {
|
|
extern "C" void f(struct S*);
|
|
void g(S*);
|
|
}
|
|
namespace N {
|
|
void f(struct S *s) {
|
|
g(s);
|
|
}
|
|
}
|
|
}
|
|
|
|
// PR10447
|
|
namespace test2 {
|
|
extern "C" {
|
|
void f(struct Bar*) { }
|
|
test2::Bar *ptr;
|
|
}
|
|
}
|