comparison gcc/testsuite/g++.dg/debug/pr94272.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 // PR c++/94272
2 // { dg-do compile }
3 // { dg-options "-O2 -fnon-call-exceptions -fcompare-debug" }
4 // { dg-xfail-if "AIX compare debug" { powerpc-ibm-aix* } }
5
6 int *c, d, *e;
7
8 void
9 foo ()
10 {
11 if (c && d)
12 ;
13 else if (*e)
14 ;
15 }