hanchenye-llvm-project/clang/test/SemaTemplate/enum-bool.cpp

12 lines
159 B
C++

// %RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o %t
enum E : bool { A };
template <E>
struct S {
struct Inner {
Inner() {}
};
};
template class S<A>;