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 {
InnerS::Inner7     Inner() {}
8   };
9 };
10 
11 template class S<A>;
12