blob: 1f21f34666a4375485fabff369680a8874be8121 (
plain)
1
2
3
4
5
|
// { dg-do assemble }
// GROUPS passed initialization
// this should give an error in require_required_type about not
// being allowed to have an initializer list in an argument list.
int f(int a = {1});// { dg-error "" "" { target { ! c++11 } } }
|