summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init2.C
blob: 8f4c2d4d20b4e158f95d61552159334c46a1770d (plain)
1
2
3
4
5
// { dg-do assemble  }
// GROUPS passed initialization
// this should give an error in require_instantiated_type about not
// being allowed to have an initializer list in an argument list.
int f(int a = {1});// { dg-error "" } .*