Skip to content

Commit 6306abc

Browse files
committed
Update additional tests after flag change
rdar://126730410 (cherry picked from commit 6050a96)
1 parent 9a750e9 commit 6306abc

File tree

5 files changed

+5
-64
lines changed

5 files changed

+5
-64
lines changed

test/ModuleInterface/discard_interface.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// CHECK: @_alwaysEmitIntoClient public consuming func AEIC_discard() { discard self }
99
// CHECK: @inlinable public consuming func inlinable_discard() { discard self }
1010

11+
@_disallowFeatureSuppression(NoncopyableGenerics)
1112
public struct MoveOnlyStruct: ~Copyable {
1213
let x = 0
1314

test/ModuleInterface/moveonly_interface_flag.swift

Lines changed: 0 additions & 56 deletions
This file was deleted.

test/SIL/Parser/array_roundtrip.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@
44
// reversed. rdar://problem/46650834
55
// UNSUPPORTED: swift_evolve
66

7-
// FIXME(NCG): This produces `cannot suppress conformances here` errors due to
8-
// all the new <τ_0_0 where τ_0_0 : ~Copyable> clauses
9-
// rdar://124657305 (@substituted generic signatures need to either include inverses or the Copyable/Escapable conformances)
10-
// XFAIL: *
11-
127
var W = [UInt32](repeating: 0, count: 16)

test/SILGen/raw_layout.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33

44

5-
// CHECK: @_rawLayout(size: 4, alignment: 4) @_moveOnly struct Lock
6-
// CHECK: @_rawLayout(like: T) @_moveOnly struct Cell<T>
7-
// CHECK: @_rawLayout(likeArrayOf: T, count: 8) @_moveOnly struct SmallVectorBuf<T>
5+
// CHECK: @_rawLayout(size: 4, alignment: 4) struct Lock : ~Copyable
6+
// CHECK: @_rawLayout(like: T) struct Cell<T> : ~Copyable
7+
// CHECK: @_rawLayout(likeArrayOf: T, count: 8) struct SmallVectorBuf<T> : ~Copyable
88

99
@_rawLayout(size: 4, alignment: 4)
1010
struct Lock: ~Copyable {

test/SILOptimizer/onone_simplifications_trivial_enum.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// REQUIRES: swift_in_compiler
44

55
import Builtin
6+
import Swift
67

78
class Klass {}
89

0 commit comments

Comments
 (0)