OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3b959a03a533184f3d4c6a1c48839d8882c11e7b
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist28.C
1
// PR c++/42060
2
// { dg-options "-std=c++0x" }
3
4
void foo()
5
{
6
int a[1];
7
throw a = {}; // { dg-error "invalid use of non-lvalue array" }
8
}