aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/ident-0b.c
blob: 67b593c63add614da1fdd6b24ff5c0ec93a28c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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.  */