Skip to content

Commit 3aa7a24

Browse files
authored
[NFCI][lldb][test] Avoid unnecessary GNU extension for assembly call (llvm#166769)
`asm()` on function declarations is used for specifying the mangling. But it's a GNU extension and very much unnecessary here since the name matches. Fixes compiling if the compiler defaults to non-extensions mode.
1 parent 6145b9d commit 3aa7a24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
int asm_main() asm("asm_main");
2-
1+
int asm_main();
32
int main() { return asm_main(); }

0 commit comments

Comments
 (0)