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

16 lines
335 B
Plaintext

# RUN: not lld -flavor darwin -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 ]
...