c: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash15.C
blobe0aad73c73e6ed5232dab9ff79401717bb13cf64
1 // PR c++/13310
3 struct A {};
5 template <typename> void foo()
7     A a;
8     a.foo<int>(); // { dg-error "" }