view gcc/testsuite/c-c++-common/ident-0b.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* PR testsuite/52665
 * Make sure scan-assembler-not turns off .ident unless -fident in testcase */
/* { dg-do compile } */
/* { dg-options "-fident" } */
/* { dg-skip-if "no assembler .ident support" { { hppa*-*-hpux* && { ! lp64 } } || powerpc*-*-darwin* } } */
int i;

/* { dg-final { scan-assembler-not "GCC: " { xfail *-*-* } } } */
/* The testsuite saw scan-assembler-not and turned off .ident so the above
 * has to fail for proper operation since the testsuite itself forced
 * -fident on again.  */