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