Files
swift-mirror/test/Driver/autolink-force-load-no-comdat.swift
Rintaro Ishizaki 0aa3125b62 [Testing] Eliminate REQUIRES-ANY usage
REQUIRES-ANY is deprecated and being removed. Use boolean expressions.

rdar://problem/58549266
2020-01-14 10:21:49 -08:00

9 lines
429 B
Swift

// RUN: not %swiftc_driver -incremental -autolink-force-load %s 2>&1 | %FileCheck -check-prefix=AUTOLINK_FORCE_LOAD %s
// RUN: not %swiftc_driver -autolink-force-load -incremental %s 2>&1 | %FileCheck -check-prefix=AUTOLINK_FORCE_LOAD %s
// MACHO targets do not support COMDAT
// REQUIRES: OS=macosx || OS=tvos || OS=watchos || OS=ios
// AUTOLINK_FORCE_LOAD: error: '-autolink-force-load' is not supported with '-incremental'