aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0000000000..faf422341f
--- /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: as < %s | dis | grep internal
+
+declare void %foo()
+implementation
+
+internal void %foo() {
+ ret void
+}
+