Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-value4.C
blob: 427147ff7f2c6eacd13eeb3a48927125f7ae0622 [
file
] [
log
] [
blame
]
// PR c++/88857
// { dg-do compile { target c++11 } }
class
S
{
int
a
;
};
void
foo
(
const
S
&,
int
);
template
<
int
N
>
void
bar
()
{
foo
({});
// { dg-error "too few arguments to function" }
}