Rafael Espindola | f230df9 | 2010-10-16 18:23:53 +0000 | [diff] [blame^] | 1 | // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t |
2 | // RUN: FileCheck -input-file %t %s | ||||
3 | |||||
4 | .global zed | ||||
5 | .data | ||||
6 | foo: | ||||
7 | .text | ||||
8 | nop | ||||
9 | bar: | ||||
10 | nop | ||||
11 | zed: | ||||
12 | // CHECK: expected relocatable expression | ||||
13 | mov zed+(bar-foo), %eax |