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