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
/
initlist26.C
blob
8fd267f4409f5a25aa90594c2e36e8d113bb4b15
1
// PR c++/42059
2
// { dg-do compile { target c++11 } }
3
// { dg-options "" }
4
5
void
6
foo (int i)
7
{
8
int a[i];
9
a = { }; // { dg-error "assign" }
10
}