[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / subtraction-error.s
blob6b93d3aee5bdcfbefb79a7a861e3fc216eeb2e46
1 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux < %s 2>&1 | FileCheck %s
3 a:
4 .section foo
5 b:
6 c = b - a
8 ; CHECK: symbol 'a' could not be evaluated in a subtraction expression