1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm-only %s 2*f4a2713aSLionel Sambuc // PR10290 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc template<int Flags> struct foo { 5*f4a2713aSLionel Sambuc int value = Flags && 0; 6*f4a2713aSLionel Sambuc }; 7*f4a2713aSLionel Sambuc test()8*f4a2713aSLionel Sambucvoid test() { 9*f4a2713aSLionel Sambuc foo<4> bar; 10*f4a2713aSLionel Sambuc } 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc struct S { 13*f4a2713aSLionel Sambuc S(int n); 14*f4a2713aSLionel Sambuc }; 15*f4a2713aSLionel Sambuc template<typename> struct T { 16*f4a2713aSLionel Sambuc S s = 0; 17*f4a2713aSLionel Sambuc }; 18*f4a2713aSLionel Sambuc T<int> t; 19