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