forked from OSchip/llvm-project
13 lines
187 B
C++
13 lines
187 B
C++
|
// RUN: %clang_cc1 -fsyntax-only %s
|
||
|
extern "C" {
|
||
|
class bar {
|
||
|
friend struct foo;
|
||
|
static struct foo& baz ();
|
||
|
};
|
||
|
struct foo {
|
||
|
void zed () {
|
||
|
bar::baz();
|
||
|
}
|
||
|
};
|
||
|
}
|