[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / unwind-stack-diagnostics.s
blob28d5672d3aa5c75db73feed3f2f65d31b2b6c80f
1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
2 @ RUN: | FileCheck %s
4 .syntax unified
5 .thumb
7 .text
9 .global multiple_personality_disorder
10 .type multiple_personality_disorder,%function
11 multiple_personality_disorder:
12 .fnstart
13 .personality __gcc_personality_v0
14 .personality __gxx_personality_v0
15 .personality __gxx_personality_sj0
16 .cantunwind
18 @ CHECK: error: .cantunwind can't be used with .personality directive
19 @ CHECK: .cantunwind
20 @ CHECK: ^
21 @ CHECK: note: .personality was specified here
22 @ CHECK: .personality __gcc_personality_v0
23 @ CHECK: ^
24 @ CHECK: note: .personality was specified here
25 @ CHECK: .personality __gxx_personality_v0
26 @ CHECK: ^
27 @ CHECK: note: .personality was specified here
28 @ CHECK: .personality __gxx_personality_sj0
29 @ CHECK: ^