Use __asm__ rather than asm in ld testsuite
[binutils-gdb.git] / ld / testsuite / ld-elf / pr14323-2.c
index 34753d110e3e48a5ef1f0158f886b7a58518b6a1..b0371d62bb41baca7524b631d7ec1ac339c2e415 100644 (file)
@@ -1,7 +1,7 @@
 int foo __attribute__ ((section ("_data_foo"))) = 0;
 extern int foo_alias __attribute__ ((weak, alias ("foo")));
 extern char __start__data_foo;
-asm (".type __start__data_foo,%object");
+__asm__ (".type __start__data_foo,%object");
 int x1 = 1;
 int x2 = 2;