Skip to content

Commit 40e91a8

Browse files
committed
test: loosen the overly-restrictive test
The types may be emitted in a different order. Be more permissive about ordering.
1 parent 631555a commit 40e91a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/IRGen/unowned.sil

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

33
// REQUIRES: CPU=x86_64
44

5-
// CHECK: [[C:%T7unowned1CC]] = type <{ [[REF:%swift.refcounted]] }>
6-
// CHECK: [[TYPE:%swift.type]] = type
7-
// CHECK: [[OPAQUE:%swift.opaque]] = type opaque
8-
// CHECK: [[A:%T7unowned1AV]] = type <{ %swift.unowned }>
5+
// CHECK-DAG: [[TYPE:%swift.type]] = type
6+
// CHECK-DAG: [[C:%T7unowned1CC]] = type <{ [[REF:%swift.refcounted]] }>
7+
// CHECK-DAG: [[OPAQUE:%swift.opaque]] = type opaque
8+
// CHECK-DAG: [[A:%T7unowned1AV]] = type <{ %swift.unowned }>
99

1010
import Builtin
1111

0 commit comments

Comments
 (0)