brintos

brintos / llvm-project-archived public Read only

0
0
Text · 773 B · 3d12907 Raw
42 lines · plain
1# RUN: not llvm-mc -triple i686-elf -filetype asm -o /dev/null %s 2>&1 \2# RUN:   | FileCheck %s3 4	.data5 6	.global invalid_expression7	.type invalid_expression,@object8invalid_expression:9	.rept *10 11# CHECK: error: invalid token in expression12# CHECK: 	.rept *13# CHECK:              ^14 15	.global bad_token16	.type bad_token,@object17bad_token:18	.rept bad_token19 20# CHECK: error: unexpected token in '.rept' directive21# CHECK: 	.rept bad_token22# CHECK:              ^23 24	.global negative25	.type negative,@object26negative:27	.rept -3228 29# CHECK: error: Count is negative30# CHECK: 	.rept -3231# CHECK:              ^32 33	.global trailer34	.type trailer,@object35trailer:36	.rep 0 trailer37 38# CHECK: :[[#@LINE-2]]:9: error: expected newline39# CHECK: 	.rep 0 trailer40# CHECK:               ^41 42