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:
Giovanni Bajo 2003-10-08 03:06:13 +02:00 committed by Bernardo Innocenti
parent 303357a705
commit 3d56512d6f
2 changed files with 14 additions and 0 deletions

View File

@ -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

View 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)" }