summaryrefslogtreecommitdiff
path: root/test/Other/2008-10-06-RemoveDeadPass.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Other/2008-10-06-RemoveDeadPass.ll')
-rw-r--r--test/Other/2008-10-06-RemoveDeadPass.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Other/2008-10-06-RemoveDeadPass.ll b/test/Other/2008-10-06-RemoveDeadPass.ll
new file mode 100644
index 0000000000..a82d1b6f4b
--- /dev/null
+++ b/test/Other/2008-10-06-RemoveDeadPass.ll
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | opt -inline -internalize -disable-output
+define void @foo() nounwind {
+ ret void
+}
+
+define void @main(...) nounwind {
+ call void @foo()
+ ret void
+}
+
+