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