PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / tc1 / dr194.C
blob3ed130071eb8902e43fc3df54f1496493d87267c
1 // { dg-do compile }
2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR194: Identifying constructors 
5 struct A
7   inline explicit A();
8 };
10 template <class>
11 struct B
13   inline explicit B();
16 template struct B<void>;