Skip to content

Commit 7abaf9e

Browse files
authored
Merge pull request swiftlang#76028 from DougGregor/async-seq-test-debug-6.0
2 parents e26305b + 73780bf commit 7abaf9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Concurrency/async_sequence_existential.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
// RUN: mkdir -p %t
12
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify
3+
// RUN: %target-swift-frontend -disable-availability-checking %s -dump-ast > %t/ast.log 2>&1
4+
// RUN: cat %t/ast.log
25

36
// RUN: %target-swift-frontend -disable-availability-checking %s -dump-ast 2>&1 | %FileCheck %s
47

@@ -13,6 +16,7 @@ extension Error {
1316
func printMe() { }
1417
}
1518

19+
// CHECK: "test(seq:)"
1620
func test(seq: any AsyncSequence) async {
1721
// CHECK: "error" interface type="any Error"
1822
do {

0 commit comments

Comments
 (0)