diff options
Diffstat (limited to 'test/MC/ELF/common-error2.s')
-rw-r--r-- | test/MC/ELF/common-error2.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ELF/common-error2.s b/test/MC/ELF/common-error2.s new file mode 100644 index 0000000..d666fee --- /dev/null +++ b/test/MC/ELF/common-error2.s @@ -0,0 +1,6 @@ +// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux < %s 2>&1 | FileCheck %s + + .set A,C + .comm C,4,4 + +// CHECK: Common symbol C cannot be used in assignment expr |