PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / other / pr71728.C
blobb70e3c2f4575bc5c871bf1cafdf63b75c003fd8a
1 // PR c++/71728
2 // { dg-do compile }
3 // { dg-options "-std=gnu++14 -Wall" }
5 int
6 foo ()
8   if (({ goto test; test: 1; }) != 1)
9     return 1;
10   return 2;