Commit 3d56512d by Giovanni Bajo Committed by Bernardo Innocenti

error2.C: New test.

2003-10-08  Giovanni Bajo  <giovannibajo@libero.it>

	* g++.dg/parse/error2.C: New test.

From-SVN: r72216
parent 303357a7
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
......
// { 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)" }
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