aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/ident-0b.c
blob: b46d85010d99228627a08290677f2d52b68ec1f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR testsuite/52665
 * Make sure scan-assembler-not turns off .ident unless -fident in testcase */
/* { dg-do compile } */
/* { dg-options "-fident" } */
/* { dg-require-effective-target ident_directive }*/
/* { 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.  */