20 lines · plain
1# RUN: llvm-mc -triple arm64-pc-linux-gnu %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --allow-empty --check-prefix=ELF2# RUN: llvm-mc -triple arm64-windows-gnu %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --allow-empty --check-prefix=ELF3 4# REQUIRES: aarch64-registered-target5 6 .globl _locomotive7 .p2align 28_locomotive:9 .cfi_startproc10 ret11 12 .globl _caboose13 .p2align 214_caboose:15 ret16 .cfi_endproc17 18# Check that the diagnostic does not fire on ELF, nor COFF platforms, which do19# not support subsections_via_symbols. See also: cfi-bad-nesting-darwin.s20# ELF-NOT: error: