| 1 |
/* PR testsuite/52665 |
| 2 |
* Make sure scan-assembler-not turns off .ident unless -fident in testcase */ |
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-fident" } */ |
| 5 |
/* { dg-require-effective-target ident_directive }*/ |
| 6 |
/* { dg-skip-if "no assembler .ident support" { { hppa*-*-hpux* && { ! lp64 } } || powerpc*-*-darwin* } } */ |
| 7 |
int i; |
| 8 |
|
| 9 |
/* { dg-final { scan-assembler-not "GCC: " { xfail *-*-* } } } */ |
| 10 |
/* The testsuite saw scan-assembler-not and turned off .ident so the above |
| 11 |
* has to fail for proper operation since the testsuite itself forced |
| 12 |
* -fident on again. */ |