summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/COFF/seh-stackalloc-zero.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/COFF/seh-stackalloc-zero.s')
-rw-r--r--llvm/test/MC/COFF/seh-stackalloc-zero.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/MC/COFF/seh-stackalloc-zero.s b/llvm/test/MC/COFF/seh-stackalloc-zero.s
index 898ac844417..c03af42131b 100644
--- a/llvm/test/MC/COFF/seh-stackalloc-zero.s
+++ b/llvm/test/MC/COFF/seh-stackalloc-zero.s
@@ -1,11 +1,10 @@
// 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
+// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: stack allocation size must be non-zero
smallFunc:
ret
.seh_endproc
OpenPOWER on IntegriCloud