error2.C: New test.
2003-10-08 Giovanni Bajo <giovannibajo@libero.it> * g++.dg/parse/error2.C: New test. From-SVN: r72216
This commit is contained in:
parent
303357a705
commit
3d56512d6f
@ -1,3 +1,7 @@
|
||||
2003-10-08 Giovanni Bajo <giovannibajo@libero.it>
|
||||
|
||||
* g++.dg/parse/error2.C: New test.
|
||||
|
||||
2003-10-08 Giovanni Bajo <giovannibajo@libero.it>
|
||||
|
||||
PR c++/11097
|
||||
|
10
gcc/testsuite/g++.dg/parse/error2.C
Normal file
10
gcc/testsuite/g++.dg/parse/error2.C
Normal file
@ -0,0 +1,10 @@
|
||||
// { dg-do compile }
|
||||
// Properly print CALL_EXPRs while dumping expressions
|
||||
|
||||
double g;
|
||||
int func(double);
|
||||
|
||||
template <int>
|
||||
struct Foo {};
|
||||
|
||||
Foo<func(g)> f; // { dg-error "" "func(g)" }
|
Loading…
Reference in New Issue
Block a user