summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/dot-symbol-assignment-backwards.s
blob: f104864576bcf054936f5ec77fd02537bc1f341e (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: error: invalid .org offset '24' (at offset '28')
. = 0x18
	.byte 3
OpenPOWER on IntegriCloud