aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/dot-symbol-assignment-backwards.s
blob: 2619788203a9710084ed580740db9be6dd23a278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: not llvm-mc -filetype=obj -triple i386-unknown-unknown %s 2> %t
# RUN: FileCheck -input-file %t %s

. = 0x10
	.byte 1

. = . + 10
	.byte 2

# CHECK: LLVM ERROR: invalid .org offset '24' (at offset '28')
. = 0x18
	.byte 3