PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr71652-3.c
blobba99a3ea9d808912464c04f2516dc2c670afc87b
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-march=haswell" } */
4 #pragma GCC push_options
5 #pragma GCC target ("arch=geode") /* { dg-error "CPU you selected does not support x86-64 instruction set" } */
7 __attribute__((constructor)) void foo()
9 asm ("");
12 #pragma GCC pop_options
14 int main() { return 0; }