]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/dwarf-debug-notes/other.cxx
ld64-224.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dwarf-debug-notes / other.cxx
old mode 100755 (executable)
new mode 100644 (file)
index b1b0e77..a6b403b
@@ -3,10 +3,10 @@
 
 int uninit;
 int init = 1;
-static int custom _asm(".my_non_standard_name") = 1;
+static int custom __asm__(".my_non_standard_name") = 1;
 static int suninit;
 static int sinit=0;
-static int scustominit _asm(".my_non_standard_name_static") = 1;
+static int scustominit __asm__(".my_non_standard_name_static") = 1;
 
 int bar(int x)
 {
@@ -19,9 +19,9 @@ int bar(int x)
                bar_init + bar_uninit + foo(x);
 }
 
-extern void disappear() _asm("lbegone");
+extern void disappear() __asm__("lbegone");
 void disappear() {}
 
-extern void foo() _asm(".my_non_standard_function_name");
+extern void foo() __asm__(".my_non_standard_function_name");
 void foo() { disappear(); }