From 29acd75af5bd176de909b3ec3dce5209af100858 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Jul 2002 22:30:45 +0000 Subject: [PATCH] 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 --- test/Assembler/2002-07-14-InternalLossage.llx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/Assembler/2002-07-14-InternalLossage.llx diff --git a/test/Assembler/2002-07-14-InternalLossage.llx b/test/Assembler/2002-07-14-InternalLossage.llx new file mode 100644 index 00000000000..faf422341f1 --- /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 +} + -- 2.34.1