1# RUN: not ld64.lld -arch x86_64 -r %s 2>&1 | FileCheck %s
2
3--- !mach-o
4arch:            x86_64
5file-type:       MH_OBJECT
6flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
7compat-version:  0.0
8current-version: 0.0
9has-UUID:        false
10OS:              unknown
11sections:
12  - segment:         __DATA
13    section:         __objc_imageinfo
14    type:            S_REGULAR
15    attributes:      [ S_ATTR_NO_DEAD_STRIP ]
16    address:         0x0000000000000100
17    content:         [ 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 ]
18...
19
20# CHECK: error: __DATA/__objc_imageinfo in file {{.*}} uses GC. This is not supported