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