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