| 1 | // %RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o %t |
|---|---|
| 2 | |
| 3 | enum E : bool { A }; |
| 4 | template <E> |
| 5 | struct S { |
| 6 | struct Inner { |
| 7 | Inner() {} |
| 8 | }; |
| 9 | }; |
| 10 | |
| 11 | template class S<A>; |
| 12 |
| 1 | // %RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o %t |
|---|---|
| 2 | |
| 3 | enum E : bool { A }; |
| 4 | template <E> |
| 5 | struct S { |
| 6 | struct Inner { |
| 7 | Inner() {} |
| 8 | }; |
| 9 | }; |
| 10 | |
| 11 | template class S<A>; |
| 12 |