1 # RUN: rm -rf %t && split-file %s %t && cd %t
2 # RUN: llvm-mc -triple=x86_64 a.s | FileCheck %s
6 # CHECK-NEXT: pushq %rbx
7 # CHECK-NEXT: pushq %rcx
14 # CHECK-NEXT: addl %eax, 3
15 # CHECK-NEXT: addl %eax, 5
16 # CHECK-NEXT: addl %ebx, 4
17 # CHECK-NEXT: addl %ebx, 3
18 # CHECK-NEXT: addl %ebx, 5
24 .endr # comment after .endr
28 # CHECK: xorl %eax, %eax
37 # RUN: not llvm-mc -triple=x86_64 err1.s 2>&1 | FileCheck %s --check-prefix=ERR1
38 # ERR1: .s:1:1: error: no matching '.endr' in definition