aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2002-07-14-InternalLossage.llx
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2002-07-14-InternalLossage.llx')
-rw-r--r--test/Assembler/2002-07-14-InternalLossage.llx11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2002-07-14-InternalLossage.llx b/test/Assembler/2002-07-14-InternalLossage.llx
new file mode 100644
index 0000000..51f88e4
--- /dev/null
+++ b/test/Assembler/2002-07-14-InternalLossage.llx
@@ -0,0 +1,11 @@
+; Test to make sure that the 'internal' tag is not lost!
+;
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep internal
+
+declare void %foo()
+implementation
+
+internal void %foo() {
+ ret void
+}
+