brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · 61456d3 Raw
45 lines · plain
1// RUN: not llvm-mc -triple powerpc-unknown-unknown %s     2>&1 | FileCheck %s2// RUN: not llvm-mc -triple powerpc-unknown-unknown %s     2>&1 | grep "error:" | count 83// RUN: not llvm-mc -triple powerpc64-unknown-unknown %s   2>&1 | FileCheck %s4// RUN: not llvm-mc -triple powerpc64-unknown-unknown %s   2>&1 | grep "error:" | count 85// RUN: not llvm-mc -triple powerpc64le-unknown-unknown %s 2>&1 | FileCheck %s6// RUN: not llvm-mc -triple powerpc64le-unknown-unknown %s 2>&1 | grep "error:" | count 87 8	// CHECK: [[@LINE+1]]:8: error: unknown token in expression in '.word' directive9	.word %10	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:11	.word # EOL COMMENT12	// CHECK: [[@LINE+1]]:10: error: unexpected token in '.word' directive13	.word 0 $14	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:15	.word 0 # EOL COMMENT16	// CHECK: [[@LINE+1]]:11: error: unexpected token in '.llong' directive17	.llong 0 $18	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:19	.llong 0 # EOL COMMENT20	// CHECK: [[@LINE+1]]:28: error: unexpected token in '.tc' directive21	.tc number64[TC],number64 $22	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:23	.tc number64[TC],number64 # EOL COMMENT24	// CHECK: [[@LINE+1]]:15: error: unexpected token in '.machine' directive25	.machine any $26	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:27	.machine any # EOL COMMENT28	// CHECK: [[@LINE+1]]:17: error: unexpected token in '.machine' directive29	.machine "any" $30	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:31	.machine "any" # EOL COMMENT32	// CHECK: [[@LINE+1]]:16: error: unexpected token in '.abiversion' directive33	.abiversion 2 $ 34	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:35	.abiversion 2 # EOL COMMENT36	.type callee1, @function37callee1:38	nop39	nop40	// CHECK: [[@LINE+1]]:33: error: unexpected token in '.localentry' directive41	.localentry callee1, .-callee1 $42	// CHECK-NOT: [[@LINE+1]]:{{[0-9]+}}: error:43	.localentry callee1, .-callee1 # EOL COMMENT	44	// CHECK-NOT: error:	 45