1# RUN: not llvm-mc %s -triple x86_64-linux -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error: 2 3# FIXME: Push source locations into diagnostics. 4 5.text 6.cfi_def_cfa rsp, 8 7# CHECK: error: this directive must appear between .cfi_startproc and .cfi_endproc directives 8 9.cfi_startproc 10nop 11 12.cfi_startproc 13# CHECK: error: starting new .cfi frame before finishing the previous one 14nop 15.cfi_endproc 16 17.cfi_def_cfa rsp, 8 18# CHECK: error: this directive must appear between .cfi_startproc and .cfi_endproc directives 19