1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mgeneral-regs-only -mmmx -mno-cld -mno-iamcu" } */
       3  
       4  void
       5  __attribute__((no_caller_saved_registers))
       6  fn1 (void)
       7  { /* { dg-message "MMX/3Dnow instructions aren't allowed in a function with the 'no_caller_saved_registers' attribute" } */
       8  }