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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist19.C
blob
ef47d3ec0e6a189063f19941e981d65c34a4d2de
1
// { dg-do compile { target c++11 } }
2
3
// Allow other errors, too
4
// { dg-prune-output "error" }
5
6
void f(double);
7
int main()
8
{
9
f({{1}}); // { dg-error "too many braces" }
10
}