Debian Codegraph @

gcc/testsuite/g++.dg/debug/pr84704.C

raw
1 // PR c++/84704
2 // { dg-do compile }
3 // { dg-options "-g -fcompare-debug -O2" }
4 // { dg-xfail-if "AIX compare debug" { powerpc-ibm-aix* } }
5
6 int a[1] = { 0 };
7
8 void
9 foo ()
10 {
11 a[({ 0; })] %= 5;
12 }