dot-symbol.s revision 8b2b43c41d2f9a25d1eb387bd74dd761fe3cb83b
1# Historically 'as' treats '.' as a reference to the current location in
2# arbitrary contects. We don't support this in general.
3
4# RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
5# RUN: FileCheck -input-file %t %s
6
7# CHECK: assignment to pseudo-symbol '.' is unsupported (use '.space' or '.org').
8. = . + 8
9
10# CHECK: invalid use of pseudo-symbol '.' as a label
11.:
12        .long 0
13