llvm-6502/test/MC/AsmParser/macro-rept.s

23 lines
280 B
ArmAsm
Raw Normal View History

// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
.rept 2
.long 1
.endr
.rept 3
.rept 2
.long 0
.endr
.endr
// CHECK: .long 1
// CHECK: .long 1
// CHECK: .long 0
// CHECK: .long 0
// CHECK: .long 0
// CHECK: .long 0
// CHECK: .long 0
// CHECK: .long 0