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