Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e7e94c907cf6924929e81083e93628d0f520c734
/
.
/
test
/
SemaCXX
/
qualified-member-enum.cpp
blob: 750821bfd81ce1f52def904c4a2f86e8fce90873 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
// Check that this doesn't crash.
struct
A
{
enum
{
LABEL
};
};
int
f
()
{
return
A
().
A
::
LABEL
;
}