member-inclass-init-value-dependent.cpp 224 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 // 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;