aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error7.C
blob: 8dd1e9d30da4a3ac80845eef7dae593a6b425901 (plain)
1
2
3
4
5
6
7
8
9
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)" }