aboutsummaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/dot-symbol.s
blob: 4a38a4053242082be52939e36be547836ea919b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Historically 'as' treats '.' as a reference to the current location in
# arbitrary contects. We don't support this in general.

# RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
# RUN: FileCheck -input-file %t %s

# CHECK: assignment to pseudo-symbol '.' is unsupported (use '.space' or '.org').
. = . + 8

# CHECK: invalid use of pseudo-symbol '.' as a label
.:
        .long 0