<commit_before>// REQUIRES: VENDOR=apple
// RUN: %target-typecheck-verify-swift -target x86_64-apple-macosx11.9

@_spi_available(macOS 10.4, *)
public class MacOSSPIClass { public init() {} }

@_spi_available(iOS 8.0, *)
public class iOSSPIClass { public init() {} }

@inlinable public func foo() {
	_ = MacOSSPIClass() // expected-error {{class 'MacOSSPIClass' cannot be used in an '@inlinable' function because it is SPI}}
	_ = iOSSPIClass()<commit_msg>Make spi-available-inline test target dynamic<commit_after>// REQUIRES: VENDOR=apple
// RUN: %target-typecheck-verify-swift -target %target-cpu-apple-macosx11.9

@_spi_available(macOS 10.4, *)
public class MacOSSPIClass { public init() {} }

@_spi_available(iOS 8.0, *)
public class iOSSPIClass { public init() {} }

@inlinable public func foo() {
	_ = MacOSSPIClass() // expected-error {{class 'MacOSSPIClass' cannot be used in an '@inlinable' function because it is SPI}}
	_ = iOSSPIClass()
{'fraction_non_alphanumeric': 0.13938753959873285, 'fraction_numerical': 0.021119324181626188, 'mean_word_length': 4.925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5378963', 'n_tokens_mistral': 352, 'n_tokens_neox': 333, 'n_words': 87}