URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [template7.C] - Rev 310
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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 "" } template used as expression
}
Go to most recent revision | Compare with Previous | Blame | View Log