summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/seh-directive-errors.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/AsmParser/seh-directive-errors.s')
-rw-r--r--llvm/test/MC/AsmParser/seh-directive-errors.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/seh-directive-errors.s b/llvm/test/MC/AsmParser/seh-directive-errors.s
index fd46df73979..8f4cc211d1c 100644
--- a/llvm/test/MC/AsmParser/seh-directive-errors.s
+++ b/llvm/test/MC/AsmParser/seh-directive-errors.s
@@ -1,6 +1,10 @@
# RUN: not llvm-mc -triple x86_64-windows-msvc %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
+# RUN: not llvm-mc -triple x86_64-windows-msvc %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
.text
+# CHECK: error: .seh_ directive must appear within an active frame
+ .seh_handlerdata
+
.seh_pushreg %rsi
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
OpenPOWER on IntegriCloud