PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / interrupt-mmx-err-2.c
blob3e9f70c389ed94cf043337bad83a277751c8297a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mmmx -mno-cld -mno-iamcu" } */
4 void
5 __attribute__((no_caller_saved_registers))
6 fn1 (void)
7 { /* { dg-message "MMX/3Dnow instructions aren't allowed in function with no_caller_saved_registers attribute" } */