Test to make sure that 'internal' flags don't get dropped accidentally!
authorChris Lattner <sabre@nondot.org>
Sun, 14 Jul 2002 22:30:45 +0000 (22:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Jul 2002 22:30:45 +0000 (22:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2887 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2002-07-14-InternalLossage.llx [new file with mode: 0644]

diff --git a/test/Assembler/2002-07-14-InternalLossage.llx b/test/Assembler/2002-07-14-InternalLossage.llx
new file mode 100644 (file)
index 0000000..faf4223
--- /dev/null
@@ -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
+}
+