1# RUN: not ld64.lld -arch x86_64 -objc_gc %s 2>&1 | FileCheck %s
2#
3# Test that the -objc_gc is rejected.
4#
5
6# CHECK: error: -objc_gc is not supported
7
8--- !native
9defined-atoms:
10 - name: _main
11 type: code
12 scope: global
13 content: [ 0x90 ]
14
15...
16