1 @ Tests to check that '@' does not get lexed as an identifier for arm
2 @ RUN: llvm-mc %s -triple=armv7-linux-gnueabi | FileCheck %s
3 @ RUN: llvm-mc %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s --check-prefix=ERROR
6 bl boo@plt should be ignored
8 .long bar@got to parse this as a comment
10 add r0, r0@ignore this extra junk
12 @ the symver directive should allow @ in the second symbol name
17 .symver defined1, bar1@zed
18 .symver defined2, bar3@@zed
19 .symver defined3, bar5@@@zed
37 @CHECK: bar1@zed = defined1
38 @CHECK: bar3@@zed = defined2
39 @CHECK: bar5@@@zed = defined3
41 @ Make sure we did not mess up the parser state and it still lexes
42 @ comments correctly by excluding the @ in normal symbols