repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist28.C
blob
decd36eea7b3e9663695cd041a87671087b8d1a6
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 "11:assigning to an array from an initializer list" }
8
}