Debian Codegraph @

gcc/testsuite/g++.dg/template/crash74.C

raw
1 // PR c++/34089
2 // { dg-do compile }
3 // { dg-options "" }
4
5 template<typename F> void foo () { } // { dg-prune-output "previous" }
6 template<typename F> struct foo<F> { }; // { dg-error "template" }