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
2016-12-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
stmtexpr16.C
blob
ddce40c050dcf41fd09e20cb9b3929030d32b2cf
1
// PR c++/63455
2
// { dg-options "-std=gnu++11" }
3
4
int main()
5
{
6
int x = 0;
7
8
// without '+0', gcc 4.6 gives a different error (no ICE though)
9
decltype(({ int y = x; y; })+0) v1 = 0;
10
}