llvm-project/lld/test/darwin/cmdline-objc_gc_only.objtxt

16 lines
325 B
Plaintext

# RUN: not ld64.lld -arch x86_64 -objc_gc_only %s 2>&1 | FileCheck %s
#
# Test that the -objc_gc_only is rejected.
#
# CHECK: error: -objc_gc_only is not supported
--- !native
defined-atoms:
- name: _main
type: code
scope: global
content: [ 0x90 ]
...