blob: baa4ced08fb17341cac1370a7626ac24e30ec544 [file] [log] [blame]
# RUN: not lld -flavor darwinnew -platform_version 2>&1 \
# RUN: | FileCheck --check-prefix=MISSING %s
# RUN: not lld -flavor darwinnew -platform_version macos 2>&1 \
# RUN: | FileCheck --check-prefix=MISSING %s
# RUN: not lld -flavor darwinnew -platform_version macos 10.15 2>&1 \
# RUN: | FileCheck --check-prefix=MISSING %s
# RUN: not lld -flavor darwinnew -platform_version macos -lfoo 10.15 2>&1 \
# RUN: | FileCheck --check-prefix=GOOD %s
# RUN: not lld -flavor darwinnew -platform_version macos 10.15 10.15.4 2>&1 \
# RUN: | FileCheck --check-prefix=GOOD %s
# RUN: not lld -flavor darwinnew -platform_version macos 10.15 10.15.4 foobar 2>&1 \
# RUN: | FileCheck --check-prefix=FAIL_FILE %s
MISSING: -platform_version: missing argument
FAIL: usage: -platform_version platform min_version sdk_version
GOOD: undefined symbol: _main
FAIL_FILE: cannot open foobar