brintos

brintos / llvm-project-archived public Read only

0
0
Text · 925 B · 5f4b607 Raw
46 lines · plain
1# RUN: rm -rf %t && split-file %s %t && cd %t2# RUN: llvm-mc -triple=x86_64 a.s | FileCheck %s3 4#--- a.s5.rept 26    .long 17.endr8# 3 "a.s"9## Test line marker after .endr \n.10 11.rept 312.rept 213    .long 014.endr15.endr # comment after .endr16.long 4217 18# CHECK:      .long 119# CHECK-NEXT: .long 120 21# CHECK:      .long 022# CHECK-NEXT: .long 023# CHECK-NEXT: .long 024# CHECK-NEXT: .long 025# CHECK-NEXT: .long 026# CHECK-NEXT: .long 027# CHECK-NEXT: .long 4228 29# RUN: not llvm-mc -triple=x86_64 err1.s 2>&1 | FileCheck %s --check-prefix=ERR130# ERR1: .s:1:6: error: unmatched '.endr' directive31#--- err1.s32.endr33 34# RUN: not llvm-mc -triple=x86_64 err2.s 2>&1 | FileCheck %s --check-prefix=ERR235# ERR2: .s:1:1: error: no matching '.endr' in definition36#--- err2.s37.rept 338.long39 40# RUN: not llvm-mc -triple=x86_64 err3.s 2>&1 | FileCheck %s --check-prefix=ERR341# ERR3: .s:3:7: error: expected newline42#--- err3.s43.rept 144.long 045.endr ab46