Commit c3a6e905 by Alexandre Oliva Committed by Alexandre Oliva

* g++.old-deja/g++.ns/template7.C: New test.

From-SVN: r24115
parent 2732314e
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br> 1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/template7.C: New test.
* g++.old-deja/g++.other/expr1.C: New test. * g++.old-deja/g++.other/expr1.C: New test.
* g++.old-deja/g++.eh/tmpl3.C: New test. * g++.old-deja/g++.eh/tmpl3.C: New test.
......
// Build don't link:
// crash test - XFAIL *-*-*
// Based on bug report by Eric NICOLAS <nicolas@bnp-eng.remcomp.com>
namespace foo {
template<class F> struct bar {};
}
void baz() {
foo::bar(); // ERROR - template used as expression
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment