Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / ELF / diff2.s
blob4a9fbd1d83a76edccaefd8d7be61406b35e25f62
1 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
2 // RUN: FileCheck -input-file %t %s
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