Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / sequence-pt-3.c
blob58971ca186d939ab52695f028de53d2ed80267d3
1 /* More sequence point warning tests */
2 /* { dg-do compile } */
3 /* { dg-options "-Wsequence-point" } */
5 void bar(int i, int j)
7 return;
10 void foo (int i)
12 int a = i-i++; (void)a; /* { dg-warning "undefined" "sequence point warning" } */
14 bar (i--, i++); /* { dg-warning "undefined" "sequence point warning" } */