☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
stmtexpr16.C
☽
☼
gcc/testsuite/g++.dg/ext/stmtexpr16.C
code
plain
raw
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
}