1# Test for D51695 ensuring there is no crash when two .cfi_startproc are opened 2# without the first one being closed. 3 4# RUN: not llvm-mc %s -filetype=obj -triple=x86_64-unknown-linux -o /dev/null 2>&1 | FileCheck %s 5 6.text 7 .cfi_startproc 8 9.text 10 .cfi_startproc 11# CHECK: [[#@LINE]]:1: error: starting new .cfi frame before finishing the previous one 12 13 .cfi_endproc 14