☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash74.C
☽
☼
gcc/testsuite/g++.dg/template/crash74.C
code
plain
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" }