aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2007-09-29-GC.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2007-09-29-GC.ll')
-rw-r--r--test/Assembler/2007-09-29-GC.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Assembler/2007-09-29-GC.ll b/test/Assembler/2007-09-29-GC.ll
new file mode 100644
index 0000000..789a0fe
--- /dev/null
+++ b/test/Assembler/2007-09-29-GC.ll
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llvm-dis | grep {@f.*gc.*shadowstack}
+; RUN: llvm-as < %s | llvm-dis | grep {@g.*gc.*java}
+
+define void @f() gc "shadowstack" {
+entry:
+ ret void
+}
+
+define void @g() gc "java" {
+entry:
+ ret void
+}