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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist97.C
blob
be474155a3a922de8630c9bb2d2bf38444ba8154
1
// PR c++/77752
2
// { dg-do compile { target c++11 } }
3
4
namespace std {
5
class initializer_list; // { dg-error "declaration" }
6
}
7
void f(std::initializer_list l) { f({2}); } // { dg-error "incomplete type" }