From 67c32a98315f785a9ec9d531c1f571a0196c7463 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 18 Jan 2015 16:17:27 +0000 Subject: Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_360/rc1@226102 --- test/Assembler/unnamed-comdat.ll | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/Assembler/unnamed-comdat.ll (limited to 'test/Assembler/unnamed-comdat.ll') diff --git a/test/Assembler/unnamed-comdat.ll b/test/Assembler/unnamed-comdat.ll new file mode 100644 index 000000000000..8aa0f78c9741 --- /dev/null +++ b/test/Assembler/unnamed-comdat.ll @@ -0,0 +1,6 @@ +; RUN: not llvm-as < %s 2>&1 | FileCheck %s +; CHECK: comdat cannot be unnamed + +define void @0() comdat { + ret void +} -- cgit v1.2.3