repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git]
/
test
/
MC
/
COFF
/
seh-stackalloc-zero.s
blob
c03af42131b56214aaa0db088998b199b9170cd4
1
//
RUN
:
not
llvm-mc
-
triple x86_64-pc-win32
-
filetype
=
obj
%
s
-
o
%
t.o
2
>&
1
| FileCheck
%
s
2
3
.globl smallFunc
4
.def smallFunc; .scl 2; .type 32; .endef
5
.seh_proc smallFunc
6
.seh_stackalloc 0
7
//
CHECK
: :[[
@LINE-
1
]]:{{[
0
-
9
]+}}:
error
:
stack allocation size must
be
non-zero
8
smallFunc
:
9
ret
10
.seh_endproc