☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-value4.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist-value4.C
code
plain
raw
1
// PR c++/88857
2
// { dg-do compile { target c++11 } }
3
4
class S { int a; };
5
void foo (const S &, int);
6
7
template <int N>
8
void
9
bar ()
10
{
11
foo ({}); // { dg-error "too few arguments to function" }
12
}