// RUN: not llvm-mc -triple powerpc-unknown-unknown %s 2>&1 | FileCheck %s
// RUN: not llvm-mc -triple powerpc-unknown-unknown %s 2>&1 | grep "error:" | count 8
// RUN: not llvm-mc -triple powerpc64-unknown-unknown %s 2>&1 | FileCheck %s
// RUN: not llvm-mc -triple powerpc64-unknown-unknown %s 2>&1 | grep "error:" | count 8
// RUN: not llvm-mc -triple powerpc64le-unknown-unknown %s 2>&1 | FileCheck %s
// RUN: not llvm-mc -triple powerpc64le-unknown-unknown %s 2>&1 | grep "error:" | count 8
// CHECK: :8: error: unknown token in expression in '.word' directive
.word %
// CHECK-NOT: :{{+}}: error:
.word # EOL COMMENT
// CHECK: :10: error: unexpected token in '.word' directive
.word 0 $
// CHECK-NOT: :{{+}}: error:
.word 0 # EOL COMMENT
// CHECK: :11: error: unexpected token in '.llong' directive
.llong 0 $
// CHECK-NOT: :{{+}}: error:
.llong 0 # EOL COMMENT
// CHECK: :28: error: unexpected token in '.tc' directive
.tc number64 ,number64 $
// CHECK-NOT: :{{+}}: error:
.tc number64 ,number64 # EOL COMMENT
// CHECK: :15: error: unexpected token in '.machine' directive
.machine any $
// CHECK-NOT: :{{+}}: error:
.machine any # EOL COMMENT
// CHECK: :17: error: unexpected token in '.machine' directive
.machine "any" $
// CHECK-NOT: :{{+}}: error:
.machine "any" # EOL COMMENT
// CHECK: :16: error: unexpected token in '.abiversion' directive
.abiversion 2 $
// CHECK-NOT: :{{+}}: error:
.abiversion 2 # EOL COMMENT
.type callee1, @function
callee1:
nop
nop
// CHECK: :33: error: unexpected token in '.localentry' directive
.localentry callee1, .-callee1 $
// CHECK-NOT: :{{+}}: error:
.localentry callee1, .-callee1 # EOL COMMENT
// CHECK-NOT: error: