llvm-for-llvmta/tools/clang/test/SemaCXX/PR8884.cpp

13 lines
187 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only %s
extern "C" {
class bar {
friend struct foo;
static struct foo& baz ();
};
struct foo {
void zed () {
bar::baz();
}
};
}