summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/anonunion2.C
blob: cb3c12dff1ed485765a3f6adff327d3d1260df8b (plain)
1
2
3
4
5
6
template <int i>
struct S
{
  S () { union { int a; }; a = 0; }
};
S<0> s;