1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mgeneral-regs-only -mcld" } */
       3  
       4  __attribute__ ((interrupt))
       5  void
       6  foo (void *frame)
       7  {
       8  }
       9  
      10  /* { dg-final { scan-assembler-times "iret" 1 { target ia32 } } } */
      11  /* { dg-final { scan-assembler-times "iretq" 1 { target { ! ia32 } } } } */
      12  /* { dg-final { scan-assembler-not "\tcld" } } */