* g++.old-deja/g++.ns/template7.C: New test.
From-SVN: r24115
This commit is contained in:
parent
2732314e1e
commit
c3a6e90500
@ -1,5 +1,7 @@
|
|||||||
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.
|
||||||
|
13
gcc/testsuite/g++.old-deja/g++.ns/template7.C
Normal file
13
gcc/testsuite/g++.old-deja/g++.ns/template7.C
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user