X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/9d2e0767a8f401be0067937f63a08b1c4f79297d..f80fe69f3f29962e8aa43a99f8ed9201548f3d78:/unit-tests/test-cases/dwarf-debug-notes/other.cxx diff --git a/unit-tests/test-cases/dwarf-debug-notes/other.cxx b/unit-tests/test-cases/dwarf-debug-notes/other.cxx old mode 100755 new mode 100644 index b1b0e77..a6b403b --- a/unit-tests/test-cases/dwarf-debug-notes/other.cxx +++ b/unit-tests/test-cases/dwarf-debug-notes/other.cxx @@ -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(); }