blob: 441a41249d1c41461d284e4275466a3b64a9d919 [file] [log] [blame]
// { dg-do assemble }
// Based on bug report by Eric NICOLAS <nicolas@bnp-eng.remcomp.com>
namespace foo {
template<class F> struct bar {};
}
void baz() {
foo::bar(); // { dg-error "12:class template argument deduction failed|no match" "" { target c++17 } } template used as expression
// { dg-error "11:missing template arguments" "" { target c++14_down } .-1 }
}