2 # RUN: llvm-mc -triple i686-w64-mingw32 %s -filetype=obj -o %t.obj
3 # RUN: lld-link -lldmingw %t.obj -out:%t.exe -entry:main
4 # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s --check-prefix=DEFAULT
5 # RUN: lld-link -lldmingw %t.obj -out:%t.noseh.exe -entry:main -noseh
6 # RUN: llvm-readobj --file-headers %t.noseh.exe | FileCheck %s --check-prefix=NOSEH
8 # DEFAULT: Characteristics [
9 # DEFAULT-NOT: IMAGE_DLL_CHARACTERISTICS_NO_SEH
12 # NOSEH: Characteristics [
13 # NOSEH: IMAGE_DLL_CHARACTERISTICS_NO_SEH