llvm/test/MC/AsmParser/macro-rept.s
2012-05-12 16:31:10 +00:00

23 lines
280 B
ArmAsm

// 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