diff options
Diffstat (limited to 'test/pecoff/safeseh.test')
-rw-r--r-- | test/pecoff/safeseh.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pecoff/safeseh.test b/test/pecoff/safeseh.test new file mode 100644 index 0000000000000..78b1b0b53ac14 --- /dev/null +++ b/test/pecoff/safeseh.test @@ -0,0 +1,9 @@ +# "hello.obj" does not have the symbol "@feat.00", so it's not +# compatible with SEH. + +# RUN: yaml2obj %p/Inputs/hello.obj.yaml > %t1.obj +# RUN: not lld -flavor link /safeseh /out:%t1.exe /subsystem:console \ +# RUN: -- %t1.obj 2> %t1.err +# RUN: FileCheck -check-prefix=INCOMPAT %s < %t1.err + +INCOMPAT: /SAFESEH is specified, but {{.*}} is not compatible with SEH. |