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++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
flexary23.C
blob
099e7fd2938e27038261d81c4e7049ea8dd5748c
1
// PR c++/79535 - ICE with NSDMI and array
2
// { dg-do compile { target c++14 } }
3
// { dg-options -Wno-pedantic }
4
5
struct A
6
{
7
int b = 1;
8
int c = 2;
9
int x[] = { c, 3 }; // { dg-error "initializer for flexible array member" }
10
};
11
A a = { 4, 5 };