1# RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2>&1 | FileCheck %s --check-prefix=ERR
2# RUN: not llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s 2>&1 | FileCheck %s --check-prefix=ERR
3
4.text
5
6test2:
7	jmp baz
8# ERR: [[@LINE+1]]:5: error: expected absolute expression
9.if . - text2 == 1
10	nop
11.else
12	ret
13.endif
14	push fs
15
16# No additional errors.
17#
18# 	ERR-NOT: {{[0-9]+}}:{{[0-9]+}}: error:
19