forked from OSchip/llvm-project
11 lines
146 B
C++
11 lines
146 B
C++
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||
|
|
||
|
// Check that this doesn't crash.
|
||
|
struct A {
|
||
|
enum {LABEL};
|
||
|
};
|
||
|
int f() {
|
||
|
return A().A::LABEL;
|
||
|
}
|
||
|
|