1# RUN: not ld64.lld -arch x86_64 -sdk_version 10.blah %s -o %t 2>&1 | FileCheck %s --check-prefix=ERROR
2
3--- !mach-o
4arch:            x86_64
5file-type:       MH_OBJECT
6flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
7sections:
8  - segment:         __TEXT
9    section:         __text
10    type:            S_REGULAR
11    attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
12    address:         0x0000000000000000
13    content:         [ 0x00, 0x00, 0x00, 0x00 ]
14global-symbols:
15  - name:            _main
16    type:            N_SECT
17    scope:           [ N_EXT ]
18    sect:            1
19    value:           0x0000000000000000
20...
21
22# ERROR: malformed sdkVersion value