1# RUN: llvm-mc -triple arm64-pc-linux-gnu %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --allow-empty --check-prefix=ELF 2# RUN: llvm-mc -triple arm64-windows-gnu %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --allow-empty --check-prefix=ELF 3 4# REQUIRES: aarch64-registered-target 5 6 .globl _locomotive 7 .p2align 2 8_locomotive: 9 .cfi_startproc 10 ret 11 12 .globl _caboose 13 .p2align 2 14_caboose: 15 ret 16 .cfi_endproc 17 18# Check that the diagnostic does not fire on ELF, nor COFF platforms, which do 19# not support subsections_via_symbols. See also: cfi-bad-nesting-darwin.s 20# ELF-NOT: error: