Richard Trieu 94a9ae776d Use APSInt::isSameValue instead of operator== in a place where two APSInt's
may have different sizes.  Fixes PR22017

llvm-svn: 225488
2015-01-09 00:58:16 +00:00

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>;