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