[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / PowerPC / directive-parse-err.s
blob61456d3043599a53839abdab6933d0ddf68b582e
1 // RUN: not llvm-mc -triple powerpc-unknown-unknown %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -triple powerpc-unknown-unknown %s 2>&1 | grep "error:" | count 8
3 // RUN: not llvm-mc -triple powerpc64-unknown-unknown %s 2>&1 | FileCheck %s
4 // RUN: not llvm-mc -triple powerpc64-unknown-unknown %s 2>&1 | grep "error:" | count 8
5 // RUN: not llvm-mc -triple powerpc64le-unknown-unknown %s 2>&1 | FileCheck %s
6 // RUN: not llvm-mc -triple powerpc64le-unknown-unknown %s 2>&1 | grep "error:" | count 8
8 // CHECK: [[@LINE+1]]:8: error: unknown token in expression in '.word' directive
9 .word %
10 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
11 .word # EOL COMMENT
12 // CHECK: [[@LINE+1]]:10: error: unexpected token in '.word' directive
13 .word 0 $
14 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
15 .word 0 # EOL COMMENT
16 // CHECK: [[@LINE+1]]:11: error: unexpected token in '.llong' directive
17 .llong 0 $
18 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
19 .llong 0 # EOL COMMENT
20 // CHECK: [[@LINE+1]]:28: error: unexpected token in '.tc' directive
21 .tc number64[TC],number64 $
22 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
23 .tc number64[TC],number64 # EOL COMMENT
24 // CHECK: [[@LINE+1]]:15: error: unexpected token in '.machine' directive
25 .machine any $
26 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
27 .machine any # EOL COMMENT
28 // CHECK: [[@LINE+1]]:17: error: unexpected token in '.machine' directive
29 .machine "any" $
30 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
31 .machine "any" # EOL COMMENT
32 // CHECK: [[@LINE+1]]:16: error: unexpected token in '.abiversion' directive
33 .abiversion 2 $
34 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
35 .abiversion 2 # EOL COMMENT
36 .type callee1, @function
37 callee1:
38 nop
39 nop
40 // CHECK: [[@LINE+1]]:33: error: unexpected token in '.localentry' directive
41 .localentry callee1, .-callee1 $
42 // CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:
43 .localentry callee1, .-callee1 # EOL COMMENT
44 // CHECK-NOT: error: