Fix typo in r235224 testcase. NFC.
[oota-llvm.git] / test / MC / ELF / weak-diff2.s
1 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t 2>&1 | FileCheck %s
2
3 // CHECK: error: Cannot represent a subtraction with a weak symbol
4
5 .weak f
6 f:
7     nop
8 g:
9     nop
10 .quad g - f