Sign in
ara-mdk
/
platform
/
external
/
clang
/
f3260565f46491a0d99e41d47a13767218242ce5
/
.
/
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
);
}