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