8 lines · plain
1@ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s2 3.text4 cmp r0, #(l1 - unknownLabel)5@ CHECK: error: symbol 'unknownLabel' can not be undefined in a subtraction expression6 7l1:8 1@ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s2 3.text4 cmp r0, #(l1 - unknownLabel)5@ CHECK: error: symbol 'unknownLabel' can not be undefined in a subtraction expression6 7l1:8