brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.7 KiB · 1e15a88 Raw
43 lines · plain
1# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r2 2>%t12# RUN: FileCheck %s < %t1 -check-prefix=ASM3 4        .text5        6        .ent # ASM: :[[@LINE]]:14: error: expected identifier after .ent7        .ent bar, # ASM: :[[@LINE]]:19: error: expected number after comma8        .ent foo, bar # AMS: :[[@LINE]]:23: error: expected an absolute expression after comma9        .ent foo, 5, bar # AMS: :[[@LINE]]:20: error: unexpected token, expected end of statement10 11        .frame # ASM: :[[@LINE]]:16: error: expected stack register12        .frame bar # ASM: :[[@LINE]]:16: error: expected stack register13        .frame $f1, 8, # ASM: :[[@LINE]]:16: error: expected general purpose register14        .frame $sp # ASM: :[[@LINE]]:20: error: unexpected token, expected comma15        .frame $sp, # ASM: :[[@LINE]]:21: error: expected frame size value16        .frame $sp, bar # ASM: :[[@LINE]]:25: error: frame size not an absolute expression17        .frame $sp, 8 # ASM: :[[@LINE]]:23: error: unexpected token, expected comma18        .frame $sp, 8, # ASM: :[[@LINE]]:24: error: expected return register19        .frame $sp, 8, $f1 # ASM: :[[@LINE]]:24: error: expected general purpose register20        .frame $sp, 8, $ra, foo # ASM: :[[@LINE]]:27: error: unexpected token, expected end of statement21 22        .mask  # ASM: :[[@LINE]]:16: error: expected bitmask value23        .mask foo # ASM: :[[@LINE]]:19: error: bitmask not an absolute expression24        .mask 0x80000000 # ASM: :[[@LINE]]:26: error: unexpected token, expected comma25        .mask 0x80000000, # ASM: :[[@LINE]]:27: error: expected frame offset value26        .mask 0x80000000, foo # ASM: :[[@LINE]]:31: error: frame offset not an absolute expression27        .mask 0x80000000, -4, bar # ASM: :[[@LINE]]:29: error: unexpected token, expected end of statement28        29        .fmask  # ASM: :[[@LINE]]:17: error: expected bitmask value30        .fmask foo # ASM: :[[@LINE]]:20: error: bitmask not an absolute expression31        .fmask 0x80000000 # ASM: :[[@LINE]]:27: error: unexpected token, expected comma32        .fmask 0x80000000, # ASM: :[[@LINE]]:28: error: expected frame offset value33        .fmask 0x80000000, foo # ASM: :[[@LINE]]:32: error: frame offset not an absolute expression34        .fmask 0x80000000, -4, bar # ASM: :[[@LINE]]:30: error: unexpected token, expected end of statement35 36        .end # ASM: :[[@LINE]]:14: error: expected identifier after .end37        .ent _local_foo_bar38        .end _local_foo_bar, foo # ASM: :[[@LINE]]:28: error: unexpected token, expected end of statement39        .end _local_foo_bar40        .end _local_foo # ASM: :[[@LINE]]:25: error: .end used without .ent41        .ent _local_foo, 242        .end _local_foo_bar # ASM: :[[@LINE]]:29: error: .end symbol does not match .ent symbol43