Richard Smith | 762bb9d | 2011-10-13 22:29:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s |
Douglas Gregor | 575a1c9 | 2011-05-20 16:38:50 +0000 | [diff] [blame] | 2 | |
3 | // PR9923 | ||||
4 | enum class Color { red, blue, green }; | ||||
5 | |||||
6 | void f(Color); | ||||
7 | void g() { | ||||
8 | f(Color::red); | ||||
9 | } |