brintos

brintos / llvm-project-archived public Read only

0
0
Text · 224 B · 5bff7f2 Raw
19 lines · cpp
1// RUN: %clang_cc1 -emit-llvm-only %s2// PR102903 4template<int Flags> struct foo {5  int value = Flags && 0;6};7 8void test() {9  foo<4> bar;10}11 12struct S {13  S(int n);14};15template<typename> struct T {16  S s = 0;17};18T<int> t;19