Daniel Dunbar | 6b7e085 | 2009-08-11 17:47:52 +0000 | [diff] [blame] | 1 | // RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t |
2 | // RUN: FileCheck -input-file %t %s | ||||
3 | |||||
Daniel Dunbar | d79f432 | 2009-08-31 08:09:28 +0000 | [diff] [blame^] | 4 | // Currently XFAIL'ed, since the front-end isn't validating this. Figure out the |
5 | // right resolution. | ||||
6 | // | ||||
7 | // XFAIL: * | ||||
8 | |||||
Daniel Dunbar | 6b7e085 | 2009-08-11 17:47:52 +0000 | [diff] [blame] | 9 | .text |
10 | a: | ||||
11 | .data | ||||
12 | // CHECK: expected relocatable expression | ||||
13 | .long -(0 + a) |