xref: /aosp_15_r20/external/llvm/test/MC/AsmParser/dot-symbol.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# Historically 'as' treats '.' as a reference to the current location in
2*9880d681SAndroid Build Coastguard Worker# arbitrary contexts. We don't support this in general.
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
5*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck -input-file %t %s
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker# CHECK: invalid use of pseudo-symbol '.' as a label
8*9880d681SAndroid Build Coastguard Worker.:
9*9880d681SAndroid Build Coastguard Worker        .long 0
10