[gcn] install.texi: Update for new ISA targets and their requirements
[gcc.git] / gcc / testsuite / g++.dg / cpp23 / attr-assume8.C
blob3c7a62f7fc4e941b7993e0ad0e79a18fe72bcfaf
1 // PR tree-optimization/107369
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-O1" }
5 void
6 foo (int x)
8   if (x == 1)
9     goto l1;                    // { dg-message "from here" }
11   [[assume (({ l1:; 1; }))]];   // { dg-error "jump to label 'l1'" }
12 }                               // { dg-message "enters statement expression" "" { target *-*-* } .-1 }