1# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s 2>&1 | FileCheck %s 2 3# LLVM-MCA-BEGIN foo 4add %eax, %eax 5# LLVM-MCA-BEGIN foo 6add %eax, %eax 7 8# CHECK: llvm-mca-markers-11.s:5:2: error: overlapping regions cannot have the same name 9# CHECK-NEXT: # LLVM-MCA-BEGIN foo 10# CHECK-NEXT: ^ 11# CHECK-NEXT: llvm-mca-markers-11.s:3:2: note: region foo was previously defined here 12# CHECK-NEXT: # LLVM-MCA-BEGIN foo 13# CHECK-NEXT: ^ 14