From a168fc98dedfc8cac01c34f84b699fe5f48ad76d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 15 Jan 2009 20:18:42 +0000 Subject: Add the private linkage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62279 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/private.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Assembler/private.ll (limited to 'test/Assembler/private.ll') diff --git a/test/Assembler/private.ll b/test/Assembler/private.ll new file mode 100644 index 0000000..3714572 --- /dev/null +++ b/test/Assembler/private.ll @@ -0,0 +1,9 @@ +; Test to make sure that the 'private' tag is not lost! +; +; RUN: llvm-as < %s | llvm-dis | grep private + +declare void @foo() + +define private void @foo() { + ret void +} -- cgit v1.1