Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-assume-4.c
blob622e29643917de782474278f730d7bf68891b460
1 /* PR tree-optimization/107369 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -O1" } */
5 void
6 foo (int x)
8 if (x == 1)
9 goto l1; /* { dg-error "jump into statement expression" } */
11 [[gnu::assume (({ l1:; 1; }))]]; /* { dg-message "label 'l1' defined here" } */