Skip to content
Merged
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
14 changes: 3 additions & 11 deletions test/IRGen/fulfillment_map_key_equality.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// RUN: %target-swift-frontend -emit-ir %s -enable-library-evolution | %FileCheck %s

// FIXME: We just need to adjust the check line below, there's no inherent
// reason for this not to be tested on wasm.

// UNSUPPORTED: CPU=wasm32

// This test does not support 32 bit right now.
// UNSUPPORTED: PTRSIZE=32

// rdar://160649141

public protocol P1 {}
Expand All @@ -24,7 +16,7 @@ public protocol P3 where A4.A1 == A3.A2.A1 {
associatedtype A3: P5
associatedtype A4: P2

var x: Int { get }
var x: Int32 { get }
}

public protocol P6: P3 {}
Expand All @@ -43,6 +35,6 @@ public struct G3<T: P6 & P4>: P3 where T.A4.A1: P1 {

// Make sure this witness thunk doesn't have any additional bogus parameters.

// CHECK-LABEL: define internal swiftcc i64 @"$s28fulfillment_map_key_equality2G3VyxGAA2P3A2aEP1xSivgTW"(ptr noalias swiftself captures(none) %0, ptr %Self, ptr %SelfWitnessTable) {{.*}} {
public var x: Int { fatalError() }
// CHECK-LABEL: define internal swiftcc i32 @"$s28fulfillment_map_key_equality2G3VyxGAA2P3A2aEP1xs5Int32VvgTW"(ptr noalias swiftself captures(none) %0, ptr %Self, ptr %SelfWitnessTable) {{.*}} {
public var x: Int32 { fatalError() }
}