Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
init2.C
blob: 1f21f34666a4375485fabff369680a8874be8121 [
file
] [
log
] [
blame
]
// { 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 } } }