diff options
Diffstat (limited to 'test/darwin/cmdline-objc_gc_only.objtxt')
-rw-r--r-- | test/darwin/cmdline-objc_gc_only.objtxt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/darwin/cmdline-objc_gc_only.objtxt b/test/darwin/cmdline-objc_gc_only.objtxt new file mode 100644 index 000000000000..db1cef94ea59 --- /dev/null +++ b/test/darwin/cmdline-objc_gc_only.objtxt @@ -0,0 +1,15 @@ +# 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 ] + +... |