brintos

brintos / llvm-project-archived public Read only

0
0
Text · 684 B · 11364de Raw
32 lines · plain
1@ RUN: not llvm-mc %s -triple=armv7-unknown-linux-gnueabi \2@ RUN:   -filetype=obj -o /dev/null 2>&1 | FileCheck %s3 4@ Check the diagnostics for the mismatched .fnstart directives.5 6@ There should be some diagnostics when the previous .fnstart is not closed7@ by the .fnend directive.8 9 10	.syntax unified11	.text12 13	.globl	func114	.align	215	.type	func1,%function16	.fnstart17func1:18	@ Intentionally miss the .fnend directive19 20	.globl	func221	.align	222	.type	func2,%function23	.fnstart24@ CHECK: error: .fnstart starts before the end of previous one25@ CHECK:        .fnstart26@ CHECK:        ^27@ CHECK: note: .fnstart was specified here28@ CHECK:        .fnstart29@ CHECK:        ^30func2:31	.fnend32