aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2002-09-19-StarInLabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2002-09-19-StarInLabel.c')
-rw-r--r--test/CodeGen/2002-09-19-StarInLabel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/2002-09-19-StarInLabel.c b/test/CodeGen/2002-09-19-StarInLabel.c
new file mode 100644
index 000000000000..e046e2b00297
--- /dev/null
+++ b/test/CodeGen/2002-09-19-StarInLabel.c
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
+
+extern void start() __asm__("start");
+extern void _start() __asm__("_start");
+extern void __start() __asm__("__start");
+void start() {}
+void _start() {}
+void __start() {}
+