Mercurial > hg > CbC > CbC_llvm
annotate test/MC/MachO/ARM/bad-darwin-ARM-reloc.s @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 7d135dc70f03 |
children |
rev | line source |
---|---|
77 | 1 @ RUN: not llvm-mc -n -triple armv7-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t |
2 @ RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s | |
3 @ rdar://15586725 | |
4 .text | |
5 ldr r3, L___fcommon | |
6 .section myseg, mysect | |
7 L___fcommon: | |
8 .word 0 | |
9 @ CHECK-ERROR: unsupported relocation on symbol | |
100 | 10 |
11 c: | |
12 .word a - b | |
13 @ CHECK-ERROR: symbol 'a' can not be undefined in a subtraction expression | |
14 .word c - b | |
15 @ CHECK-ERROR: symbol 'b' can not be undefined in a subtraction expression |