1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
19 lines
224 B
C++
19 lines
224 B
C++
// RUN: %clang_cc1 -emit-llvm-only %s
|
|
// PR10290
|
|
|
|
template<int Flags> struct foo {
|
|
int value = Flags && 0;
|
|
};
|
|
|
|
void test() {
|
|
foo<4> bar;
|
|
}
|
|
|
|
struct S {
|
|
S(int n);
|
|
};
|
|
template<typename> struct T {
|
|
S s = 0;
|
|
};
|
|
T<int> t;
|