Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
e0ac7454bae910ab3d67a92f6e2e5046d3bb8c1a
/
.
/
test
/
CodeGenCXX
/
scoped-enums.cpp
blob: fca05098923c2f0e3faae148c74ecd8fc60ebb80 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s
// PR9923
enum
class
Color
{
red
,
blue
,
green
};
void
f
(
Color
);
void
g
()
{
f
(
Color
::
red
);
}