view lld/test/MachO/platform-version.test @ 192:d7606dcf6fce

Added tag llvm10 for changeset 0572611fdcc8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2020 18:01:34 +0900
parents 0572611fdcc8
children
line wrap: on
line source

# RUN: not lld -flavor darwinnew -platform_version 2>&1 \
# RUN:     | FileCheck --check-prefix=FAIL %s
# RUN: not lld -flavor darwinnew -platform_version macos 2>&1 \
# RUN:     | FileCheck --check-prefix=FAIL %s
# RUN: not lld -flavor darwinnew -platform_version macos 10.15 2>&1 \
# RUN:     | FileCheck --check-prefix=FAIL %s
# RUN: not lld -flavor darwinnew -platform_version macos -lfoo 10.15 2>&1 \
# RUN:     | FileCheck --check-prefix=FAIL %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

FAIL: usage: -platform_version platform min_version sdk_version
GOOD: undefined symbol: _main
FAIL_FILE: cannot open foobar