PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70843.c
blobc3c9212a0f5ef494fa80667f25bb944cb9a1b1ae
1 /* PR middle-end/70843 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int
6 foo (int x, int y)
8 return ({ int a = 5; a += x; a *= y; a; }) ? : 2;