summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-14 22:30:45 +0000
committerChris Lattner <sabre@nondot.org>2002-07-14 22:30:45 +0000
commit29acd75af5bd176de909b3ec3dce5209af100858 (patch)
treeca96155f3a131b2d742dfcfbbaa9d01f0ea61c91 /test
parent0135729303af2d69569af8cd779e9a47b4d46342 (diff)
downloadexternal_llvm-29acd75af5bd176de909b3ec3dce5209af100858.zip
external_llvm-29acd75af5bd176de909b3ec3dce5209af100858.tar.gz
external_llvm-29acd75af5bd176de909b3ec3dce5209af100858.tar.bz2
Test to make sure that 'internal' flags don't get dropped accidentally!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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..faf4223
--- /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
+}
+