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