1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/COFF/seh-stackalloc-zero.s

12 lines
283 B
ArmAsm
Raw Normal View History

// RUN: not llvm-mc -triple x86_64-pc-win32 -filetype=obj %s -o %t.o 2>&1 | FileCheck %s
// CHECK: Allocation size must be non-zero!
.globl smallFunc
.def smallFunc; .scl 2; .type 32; .endef
.seh_proc smallFunc
.seh_stackalloc 0
smallFunc:
ret
.seh_endproc