Skip to content

Tests: Remove -disable-availability-checking in variadic generics tests #77135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/Constraints/issue-67906.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

struct G<each T>: Sequence {
typealias Element = Int
Expand Down
4 changes: 2 additions & 2 deletions test/Constraints/nested_pack_expansion.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

func sameType<T>(_: T.Type, _: T.Type) {}

Expand Down Expand Up @@ -86,4 +86,4 @@ extension G {

sameType(G<X1, Y1, Z1>.C1<X2, Y2, Z2>.self, Expanded.self)
sameType(G<X1, Y1, Z1>.C2<X3, Y3, Z3>.self, Expanded.self)
sameType(G<X2, Y2, Z2>.C3<X3, Y3, Z3>.self, Expanded.self)
sameType(G<X2, Y2, Z2>.C3<X3, Y3, Z3>.self, Expanded.self)
2 changes: 1 addition & 1 deletion test/Constraints/one_element_tuple.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

let t1: (_: Int) = (_: 3)

Expand Down
2 changes: 1 addition & 1 deletion test/Constraints/pack-expansion-expressions.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

func tuplify<each T>(_ t: repeat each T) -> (repeat each T) {
return (repeat each t)
Expand Down
2 changes: 1 addition & 1 deletion test/Constraints/variadic_generic_init.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

// These test cases exercise variants of rdar://problem/112785081
// and https://github.com/apple/swift/issues/68160.
Expand Down
4 changes: 2 additions & 2 deletions test/Constraints/variadic_generic_types.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

// Parsing an UnresolvedSpecializeExpr containing a PackExpansionType
struct G<each T> {}
Expand Down Expand Up @@ -117,4 +117,4 @@ do {

_ = Foo(nil) // expected-error {{'nil' requires a contextual type}}
_ = Foo(nil, 1) // expected-error {{'nil' requires a contextual type}}
}
}
2 changes: 1 addition & 1 deletion test/DebugInfo/variadic-generics-count.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-swift-frontend -emit-ir %s -g -o - \
// RUN: -parse-as-library -module-name a -disable-availability-checking | %FileCheck %s
// RUN: -parse-as-library -module-name a -target %target-swift-5.9-abi-triple | %FileCheck %s

public func f1<each T>(ts: repeat each T) {
// CHECK: define {{.*}} @"$s1a2f12tsyxxQp_tRvzlF"(ptr {{.*}}, i{{32|64}} [[COUNT1_1:.*]], ptr {{.*}})
Expand Down
2 changes: 1 addition & 1 deletion test/DebugInfo/variadic-generics.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-swift-frontend -emit-ir %s -g -o - \
// RUN: -parse-as-library -module-name a -disable-availability-checking | %IRGenFileCheck %s
// RUN: -parse-as-library -module-name a -target %target-swift-5.9-abi-triple | %IRGenFileCheck %s

public func foo<each T>(args: repeat each T) {
// CHECK: define {{.*}} @"$s1a3foo4argsyxxQp_tRvzlF"
Expand Down
2 changes: 1 addition & 1 deletion test/Generics/parameter-pack-requirements.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures -disable-availability-checking 2>&1 | %FileCheck %s
// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures -target %target-swift-5.9-abi-triple 2>&1 | %FileCheck %s

protocol P {
associatedtype A: P
Expand Down
2 changes: 1 addition & 1 deletion test/Generics/rdar115538386.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -typecheck %s -disable-availability-checking
// RUN: %target-swift-frontend -typecheck %s -target %target-swift-5.9-abi-triple

protocol P<A> {
associatedtype A
Expand Down
2 changes: 1 addition & 1 deletion test/Generics/variadic_generic_requirements.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

struct Conformance<each T: Equatable> {}

Expand Down
4 changes: 2 additions & 2 deletions test/Generics/variadic_generic_types.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

// Disallowed cases
struct MultiplePack<each T, each U> {} // expected-error {{generic type cannot declare more than one type pack}}
Expand Down Expand Up @@ -115,4 +115,4 @@ func invalidPackExpansion<each X, each Y, Z>(x: repeat each X, y: repeat each Y,
func packExpansionInScalarArgument<each T>(_: repeat each T) {
typealias A<U> = U
typealias One = A<repeat each T> // expected-error {{pack expansion 'repeat each T' can only appear in a function parameter list, tuple element, or generic argument of a variadic type}}
}
}
2 changes: 1 addition & 1 deletion test/IRGen/bitwise_copyable.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %target-swift-frontend \
// RUN: -primary-file %s \
// RUN: -emit-ir \
// RUN: -disable-availability-checking \
// RUN: -target %target-swift-5.9-abi-triple \
// RUN: -enable-builtin-module

// REQUIRES: asserts
Expand Down
2 changes: 1 addition & 1 deletion test/IRGen/builtin_pack_length.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -module-name builtins -enable-builtin-module -Xllvm -sil-disable-pass=target-constant-folding -disable-access-control -primary-file %s -emit-ir -o - -disable-objc-attr-requires-foundation-module -disable-availability-checking -O | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-runtime
// RUN: %target-swift-frontend -module-name builtins -enable-builtin-module -Xllvm -sil-disable-pass=target-constant-folding -disable-access-control -primary-file %s -emit-ir -o - -disable-objc-attr-requires-foundation-module -target %target-swift-5.9-abi-triple -O | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-runtime

// REQUIRES: CPU=x86_64 || CPU=arm64 || CPU=arm64e

Expand Down
2 changes: 1 addition & 1 deletion test/IRGen/pack_archetype_canonicalization.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -emit-ir %s -disable-availability-checking
// RUN: %target-swift-frontend -emit-ir %s -target %target-swift-5.9-abi-triple

// This would crash.
public struct G<T> {}
Expand Down
4 changes: 2 additions & 2 deletions test/IRGen/pack_metadata_marker_inserter_onone.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-swift-frontend -Onone -disable-availability-checking -emit-ir -primary-file %s -enable-pack-metadata-stack-promotion=false -enable-pack-metadata-stack-promotion=true -Xllvm -sil-print-after=pack-metadata-marker-inserter 2>&1 | %FileCheck %s --check-prefixes CHECK-SIL
// RUN: %target-swift-frontend -Onone -disable-availability-checking -emit-ir -primary-file %s -enable-pack-metadata-stack-promotion=false -enable-pack-metadata-stack-promotion=true | %IRGenFileCheck %s --check-prefixes CHECK-LLVM
// RUN: %target-swift-frontend -Onone -target %target-swift-5.9-abi-triple -emit-ir -primary-file %s -enable-pack-metadata-stack-promotion=false -enable-pack-metadata-stack-promotion=true -Xllvm -sil-print-after=pack-metadata-marker-inserter 2>&1 | %FileCheck %s --check-prefixes CHECK-SIL
// RUN: %target-swift-frontend -Onone -target %target-swift-5.9-abi-triple -emit-ir -primary-file %s -enable-pack-metadata-stack-promotion=false -enable-pack-metadata-stack-promotion=true | %IRGenFileCheck %s --check-prefixes CHECK-LLVM

public struct G<each T> {
var pack: (repeat each T)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -emit-ir %s -disable-availability-checking | %FileCheck %s
// RUN: %target-swift-frontend -emit-ir %s -target %target-swift-5.9-abi-triple | %FileCheck %s

protocol P {
static func foobar()
Expand Down
2 changes: 1 addition & 1 deletion test/IRGen/variadic_generic_fulfillment.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -emit-ir %s -disable-availability-checking | %FileCheck %s -DINT=i%target-ptrsize
// RUN: %target-swift-frontend -emit-ir %s -target %target-swift-5.9-abi-triple | %FileCheck %s -DINT=i%target-ptrsize

public struct G<T> {}

Expand Down
4 changes: 2 additions & 2 deletions test/IRGen/variadic_generic_opaque.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -emit-ir %s -disable-availability-checking | %FileCheck %s
// RUN: %target-swift-frontend -emit-ir %s -target %target-swift-5.9-abi-triple | %FileCheck %s

public protocol P {}

Expand Down Expand Up @@ -50,4 +50,4 @@ extension Outer.Inner: P where (repeat (each T, each U)): Any {}

func concreteOuterInner() -> some P {
Outer<Int>.Inner<String>()
}
}
2 changes: 1 addition & 1 deletion test/IRGen/variadic_generic_types.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -emit-ir -primary-file %s -disable-availability-checking | %FileCheck %s
// RUN: %target-swift-frontend -emit-ir -primary-file %s -target %target-swift-5.9-abi-triple | %FileCheck %s

// REQUIRES: PTRSIZE=64

Expand Down
4 changes: 2 additions & 2 deletions test/Interpreter/import_parameter_pack_library.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// RUN: %empty-directory(%t)

// RUN: %target-build-swift-dylib(%t/%target-library-name(variadic_generic_library)) -Xfrontend -disable-availability-checking -enable-library-evolution %S/Inputs/variadic_generic_library.swift -emit-module -emit-module-path %t/variadic_generic_library.swiftmodule -module-name variadic_generic_library
// RUN: %target-build-swift-dylib(%t/%target-library-name(variadic_generic_library)) -target %target-swift-5.9-abi-triple -enable-library-evolution %S/Inputs/variadic_generic_library.swift -emit-module -emit-module-path %t/variadic_generic_library.swiftmodule -module-name variadic_generic_library
// RUN: %target-codesign %t/%target-library-name(variadic_generic_library)

// RUN: %target-build-swift %s -Xfrontend -disable-availability-checking -lvariadic_generic_library -I %t -L %t -o %t/main %target-rpath(%t)
// RUN: %target-build-swift %s -target %target-swift-5.9-abi-triple -lvariadic_generic_library -I %t -L %t -o %t/main %target-rpath(%t)
// RUN: %target-codesign %t/main

// RUN: %target-run %t/main %t/%target-library-name(variadic_generic_library)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-run-simple-swift(-Xfrontend -disable-availability-checking)
// RUN: %target-run-simple-swift(-target %target-swift-5.9-abi-triple)

// REQUIRES: executable_test

Expand Down Expand Up @@ -78,4 +78,4 @@ conformances.test("shape") {
expectEqual(false, cast(Outer<Int, Bool>.Inner<String, Float, Character>(), to: (any P).self))
}

runAllTests()
runAllTests()
2 changes: 1 addition & 1 deletion test/Interpreter/variadic_generic_conformances.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-run-simple-swift(-Xfrontend -disable-availability-checking)
// RUN: %target-run-simple-swift(-target %target-swift-5.9-abi-triple)

// REQUIRES: executable_test

Expand Down
2 changes: 1 addition & 1 deletion test/Interpreter/variadic_generic_opaque_type.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %empty-directory(%t)
//
// RUN: %target-build-swift-dylib(%t/%target-library-name(variadic_generic_opaque_type_other)) %S/Inputs/variadic_generic_opaque_type_other.swift -emit-module -emit-module-path %t/variadic_generic_opaque_type_other.swiftmodule -module-name variadic_generic_opaque_type_other -Xfrontend -disable-availability-checking -enable-library-evolution
// RUN: %target-build-swift-dylib(%t/%target-library-name(variadic_generic_opaque_type_other)) %S/Inputs/variadic_generic_opaque_type_other.swift -emit-module -emit-module-path %t/variadic_generic_opaque_type_other.swiftmodule -module-name variadic_generic_opaque_type_other -target %target-swift-5.9-abi-triple -enable-library-evolution
// RUN: %target-codesign %t/%target-library-name(variadic_generic_opaque_type_other)
//
// RUN: %target-build-swift %s -I %t -o %t/main.out -L %t %target-rpath(%t) -lvariadic_generic_opaque_type_other
Expand Down
2 changes: 1 addition & 1 deletion test/Interpreter/variadic_generic_type_witnesses.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-run-simple-swift(-Xfrontend -disable-availability-checking)
// RUN: %target-run-simple-swift(-target %target-swift-5.9-abi-triple)

// REQUIRES: executable_test

Expand Down
4 changes: 2 additions & 2 deletions test/Interpreter/variadic_generic_types.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-run-simple-swift(-Xfrontend -disable-concrete-type-metadata-mangled-name-accessors -Xfrontend -disable-availability-checking)
// RUN: %target-run-simple-swift(-Xfrontend -disable-availability-checking)
// RUN: %target-run-simple-swift(-Xfrontend -disable-concrete-type-metadata-mangled-name-accessors -target %target-swift-5.9-abi-triple)
// RUN: %target-run-simple-swift(-target %target-swift-5.9-abi-triple)

// REQUIRES: executable_test

Expand Down
4 changes: 2 additions & 2 deletions test/Macros/macro_expand_variadic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

// RUN: %empty-directory(%t)
// RUN: %host-build-swift -swift-version 5 -emit-library -o %t/%target-library-name(MacroDefinition) -module-name=MacroDefinition %S/Inputs/variadic_macros.swift -g -no-toolchain-stdlib-rpath
// RUN: %target-typecheck-verify-swift -disable-availability-checking -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) -module-name MacroUser -DTEST_DIAGNOSTICS -swift-version 5
// RUN: %target-build-swift -Xfrontend -disable-availability-checking -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) %s -o %t/main -module-name MacroUser -swift-version 5
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) -module-name MacroUser -DTEST_DIAGNOSTICS -swift-version 5
// RUN: %target-build-swift -target %target-swift-5.9-abi-triple -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) %s -o %t/main -module-name MacroUser -swift-version 5
// RUN: %target-codesign %t/main
// RUN: %target-run %t/main | %FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion test/ModuleInterface/pack_expansion_type.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-emit-module-interface(%t/PackExpansionType.swiftinterface) %s -module-name PackExpansionType -disable-availability-checking
// RUN: %target-swift-emit-module-interface(%t/PackExpansionType.swiftinterface) %s -module-name PackExpansionType -target %target-swift-5.9-abi-triple
// RUN: %FileCheck %s < %t/PackExpansionType.swiftinterface

/// Requirements
Expand Down
2 changes: 1 addition & 1 deletion test/Parse/type_parameter_packs.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

protocol P {}

Expand Down
4 changes: 2 additions & 2 deletions test/SILGen/nested_pack_expansion.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen %s -disable-availability-checking | %FileCheck %s
// RUN: %target-swift-emit-silgen %s -target %target-swift-5.9-abi-triple | %FileCheck %s

typealias A<each T, U, V> = (repeat (each T, U, V))

Expand All @@ -12,4 +12,4 @@ struct G<each T> {

// CHECK-LABEL: sil hidden [ossa] @$s21nested_pack_expansion2fb1tyx_q_Qe_q0_txQp_tq_Qp_t_tRvzRv_r1_lF : $@convention(thin) <each T, each U, V> (@pack_guaranteed Pack{repeat (repeat (each T, /* level: 1 */ each U, V))}) -> () {
// CHECK: bb0(%0 : $*Pack{repeat (repeat (each T, /* level: 1 */ each U, V))}):
func fb<each T, each U, V>(t: G<repeat each T>.B<repeat each U, V>) {}
func fb<each T, each U, V>(t: G<repeat each T>.B<repeat each U, V>) {}
2 changes: 1 addition & 1 deletion test/SILGen/pack_expansion_type.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen %s -disable-availability-checking | %FileCheck %s
// RUN: %target-swift-emit-silgen %s -target %target-swift-5.9-abi-triple | %FileCheck %s

// CHECK-LABEL: sil [ossa] @$s19pack_expansion_type16variadicFunction1t1ux_q_txQp_txxQp_q_xQptRvzRv_q_Rhzr0_lF : $@convention(thin) <each T, each U where (repeat (each T, each U)) : Any> (@pack_guaranteed Pack{repeat each T}, @pack_guaranteed Pack{repeat each U}) -> @pack_out Pack{repeat (each T, each U)} {
// CHECK: bb0(%0 : $*Pack{repeat (each T, each U)}, %1 : $*Pack{repeat each T}, %2 : $*Pack{repeat each U}):
Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/parameterized_existentials.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -module-name parameterized -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -module-name parameterized -target %target-swift-5.7-abi-triple %s | %FileCheck %s

protocol P<T, U, V> {
associatedtype T
Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/parameterized_existentials_variadic.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -module-name parameterized -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -module-name parameterized -target %target-swift-5.9-abi-triple %s | %FileCheck %s

protocol P<A> {
associatedtype A
Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic-generic-class-methods.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -target %target-swift-5.9-abi-triple %s | %FileCheck %s

public class A<each T> {
public func f(_ action: (repeat each T) -> ()) {}
Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic-generic-closures.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -target %target-swift-5.9-abi-triple %s | %FileCheck %s

public struct G<T> {}

Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic-generic-lowering.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen %s -disable-availability-checking
// RUN: %target-swift-emit-silgen %s -target %target-swift-5.9-abi-triple

// Make sure we can lower all of these types without crashing.

Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic-generic-reabstract-tuple-arg.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -target %target-swift-5.9-abi-triple %s | %FileCheck %s

func takeEscapingFunction<each Input, Output>(function: @escaping ((repeat each Input)) -> Output) {}
func returnFunction<each Input, Output>(args: (repeat each Input).Type, result: Output.Type) -> (_: (repeat each Input)) -> Output {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -target %target-swift-5.9-abi-triple %s | %FileCheck %s



Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic-generic-tuples.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -target %target-swift-5.9-abi-triple %s | %FileCheck %s

func takeAny(_ arg: Any) {}

Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic-generic-vanishing-tuples.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -target %target-swift-5.9-abi-triple %s | %FileCheck %s

// rdar://107459964
// rdar://107478603
Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic_generic_allocating_init.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen %s -disable-availability-checking | %FileCheck %s
// RUN: %target-swift-emit-silgen %s -target %target-swift-5.9-abi-triple | %FileCheck %s

class C<each T> {
var values: (repeat each T)
Expand Down
4 changes: 2 additions & 2 deletions test/SILGen/variadic_generic_keypath_descriptors.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen -enable-library-evolution -disable-availability-checking %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -enable-library-evolution -target %target-swift-5.9-abi-triple %s | %FileCheck %s

// rdar://problem/112474421

Expand All @@ -13,4 +13,4 @@ public struct G<each T> {

// CHECK-NOT: sil_property #G.property1<each τ_0_0>
// CHECK-NOT: sil_property #G.property2<each τ_0_0>
// CHECK-LABEL: sil_property #G.property3<each τ_0_0>
// CHECK-LABEL: sil_property #G.property3<each τ_0_0>
4 changes: 2 additions & 2 deletions test/SILGen/variadic_generic_opaque_multifile.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-swift-frontend -emit-silgen -primary-file %s %S/Inputs/variadic_generic_opaque_multifile_other.swift -disable-availability-checking
// RUN: %target-swift-frontend -emit-silgen %s %S/Inputs/variadic_generic_opaque_multifile_other.swift -disable-availability-checking
// RUN: %target-swift-frontend -emit-silgen -primary-file %s %S/Inputs/variadic_generic_opaque_multifile_other.swift -target %target-swift-5.9-abi-triple
// RUN: %target-swift-frontend -emit-silgen %s %S/Inputs/variadic_generic_opaque_multifile_other.swift -target %target-swift-5.9-abi-triple

public func caller() {
callee(1, 2, 3).f()
Expand Down
2 changes: 1 addition & 1 deletion test/SILGen/variadic_generic_types.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-emit-silgen %s -disable-availability-checking
// RUN: %target-swift-emit-silgen %s -target %target-swift-5.9-abi-triple

struct Variadic<each T> where repeat each T: Equatable {}

Expand Down
4 changes: 2 additions & 2 deletions test/Serialization/nested_pack_expansion.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend %S/Inputs/nested_pack_expansion_other.swift -emit-module -emit-module-path %t/nested_pack_expansion_other.swiftmodule -disable-availability-checking
// RUN: %target-typecheck-verify-swift -I %t -disable-availability-checking
// RUN: %target-swift-frontend %S/Inputs/nested_pack_expansion_other.swift -emit-module -emit-module-path %t/nested_pack_expansion_other.swiftmodule -target %target-swift-5.9-abi-triple
// RUN: %target-typecheck-verify-swift -I %t -target %target-swift-5.9-abi-triple

import nested_pack_expansion_other

Expand Down
4 changes: 2 additions & 2 deletions test/Serialization/pack_expansion_type.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend %S/Inputs/pack_expansion_type_other.swift -emit-module -emit-module-path %t/pack_expansion_type_other.swiftmodule -disable-availability-checking
// RUN: %target-typecheck-verify-swift -I %t -disable-availability-checking
// RUN: %target-swift-frontend %S/Inputs/pack_expansion_type_other.swift -emit-module -emit-module-path %t/pack_expansion_type_other.swiftmodule -target %target-swift-5.9-abi-triple
// RUN: %target-typecheck-verify-swift -I %t -target %target-swift-5.9-abi-triple

import pack_expansion_type_other

Expand Down
2 changes: 1 addition & 1 deletion test/TypeDecoder/variadic_nominal_types.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %empty-directory(%t)

// RUN: %target-build-swift -emit-executable %s -g -o %t/variadic_nominal_types -emit-module -Xfrontend -disable-availability-checking
// RUN: %target-build-swift -emit-executable %s -g -o %t/variadic_nominal_types -emit-module -target %target-swift-5.9-abi-triple

// RUN: sed -ne '/\/\/ *DEMANGLE-TYPE: /s/\/\/ *DEMANGLE-TYPE: *//p' < %s > %t/input
// RUN: %lldb-moduleimport-test-with-sdk %t/variadic_nominal_types -type-from-mangled=%t/input | %FileCheck %s --check-prefix=CHECK-TYPE
Expand Down
2 changes: 1 addition & 1 deletion test/decl/protocol/conforms/variadic_generic_type.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -disable-availability-checking
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple

// Generic parameter packs cannot witness associated type requirements
protocol HasAssoc {
Expand Down
Loading