diff options
Diffstat (limited to 'llvm/test/Assembler/unnamed-comdat.ll')
-rw-r--r-- | llvm/test/Assembler/unnamed-comdat.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Assembler/unnamed-comdat.ll b/llvm/test/Assembler/unnamed-comdat.ll new file mode 100644 index 00000000000..8aa0f78c974 --- /dev/null +++ b/llvm/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 +} |