repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-value4.C
blob
427147ff7f2c6eacd13eeb3a48927125f7ae0622
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
}