mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 04:41:25 +00: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();
|
|
}
|
|
};
|
|
}
|