Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
03720fce6e709661af020f3e4e6dfd08a96e8044
/
.
/
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
);
}