1// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3.irp reg,%eax,%ebx
4        pushl \reg
5.endr
6
7// CHECK: pushl %eax
8// CHECK: pushl %ebx
9
10.irp reg,%eax,%ebx
11.irp imm,4,3,5
12        addl \reg, \imm
13.endr
14.endr
15
16// CHECK: addl %eax, 4
17// CHECK: addl %eax, 3
18// CHECK: addl %eax, 5
19// CHECK: addl %ebx, 4
20// CHECK: addl %ebx, 3
21// CHECK: addl %ebx, 5
22