projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/18126 (sizeof compound-literal not parsed correctly)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
sizeof-complit.C
1
// PR c++/18126
2
// { dg-options "" }
3
4
struct s { int a; int b; };
5
char x[((sizeof (struct s){ 1, 2 }) == sizeof (struct s)) ? 1 : -1];