aboutsummaryrefslogtreecommitdiff
path: root/test/asm-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/asm-label.c')
-rw-r--r--test/asm-label.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/asm-label.c b/test/asm-label.c
new file mode 100644
index 0000000..b9489da
--- /dev/null
+++ b/test/asm-label.c
@@ -0,0 +1,5 @@
+int x __asm__("y");
+int x = 2;
+
+void f(void) __asm__("g");
+void f(void) {}