Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.ns/template7.C

raw
1 // { dg-do assemble }
2
3
4 // Based on bug report by Eric NICOLAS <[email protected]>
5
6 namespace foo {
7 template<class F> struct bar {};
8 }
9
10 void baz() {
11 foo::bar(); // { dg-error "12:class template argument deduction failed|no match" "" { target c++17 } } template used as expression
12 // { dg-error "11:missing template arguments" "" { target c++14_down } .-1 }
13 }