mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-26 06:48:51 -04:00

failed to find a case where an enum context would make a difference, but found PR9007 on the way. llvm-svn: 123871
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();
|
|
}
|
|
};
|
|
}
|