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
10 // CHECK-
NOT: [[@LINE+
1]]:{{[0-9]+}}: error
:
12 // CHECK
: [[@LINE+
1]]:10: error
: unexpected token in
'.word' directive
14 // CHECK-
NOT: [[@LINE+
1]]:{{[0-9]+}}: error
:
16 // CHECK
: [[@LINE+
1]]:11: error
: unexpected token in
'.llong' directive
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
26 // CHECK-
NOT: [[@LINE+
1]]:{{[0-9]+}}: error
:
27 .machine any # EOL COMMENT
28 // CHECK
: [[@LINE+
1]]:17: error
: unexpected token in
'.machine' directive
30 // CHECK-
NOT: [[@LINE+
1]]:{{[0-9]+}}: error
:
31 .machine "any" # EOL COMMENT
32 // CHECK
: [[@LINE+
1]]:16: error
: unexpected token in
'.abiversion' directive
34 // CHECK-
NOT: [[@LINE+
1]]:{{[0-9]+}}: error
:
35 .abiversion 2 # EOL COMMENT
36 .type callee1, @function
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