Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash74.C
blob9f2e415cfeeb25f9751e2f2e62c62c000a2f011c
1 // PR c++/34089
2 // { dg-do compile }
3 // { dg-options "" }
5 template<typename F> void foo () { }
6 template<typename F> struct foo<F> { }; // { dg-error "redeclared as" }