blob: c03af42131b56214aaa0db088998b199b9170cd4 [file] [log] [blame]
Reid Klecknerb5dd9452014-07-01 00:42:47 +00001// RUN: not llvm-mc -triple x86_64-pc-win32 -filetype=obj %s -o %t.o 2>&1 | FileCheck %s
2
Reid Klecknerb5dd9452014-07-01 00:42:47 +00003 .globl smallFunc
4 .def smallFunc; .scl 2; .type 32; .endef
5 .seh_proc smallFunc
6 .seh_stackalloc 0
Reid Klecknere52d1e62017-10-10 01:26:25 +00007// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: stack allocation size must be non-zero
Reid Klecknerb5dd9452014-07-01 00:42:47 +00008smallFunc:
9 ret
10 .seh_endproc