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
/
initlist28.C
blob
3bf995ad236344b83ea1e45b0023f42f39792e75
1
// PR c++/42060
2
// { dg-do compile { target c++11 } }
3
4
void foo()
5
{
6
int a[1];
7
throw a = {}; // { dg-error "assign" }
8
}