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
tree-optimization/116907 - stale BLOCK reference from DECL_VALUE_EXPR
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
flexary29.C
blob
8fef06e6a978394a95c4d492f5c1bf68a510df0d
1
// PR c++/84578
2
// { dg-do compile { target c++11 } }
3
// { dg-options -Wno-pedantic }
4
5
struct A
6
{
7
constexpr A() : i(), x() {} // { dg-error "flexible" }
8
int i;
9
char x[];
10
};
11
12
A a;