Skip to content

Commit fdf6b53

Browse files
authored
Merge pull request #69935 from hjyamauchi/round-trip-debug-types-typealias
Update test round-trip-debug-types-typealias to use CHECK
2 parents badac8f + 23eefe6 commit fdf6b53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/IRGen/round-trip-debug-types-typealias.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-build-swift -g %s
1+
// RUN: %target-build-swift -g %s -emit-ir | %FileCheck %s
22

33
// https://github.com/apple/swift/issues/66554
44
// IRGenDebugInfo type reconstruction crash because existential types
@@ -8,3 +8,6 @@
88
protocol Protocol<T> { associatedtype T }
99
typealias AnyProtocol<T> = any Protocol<T>
1010
let crash: AnyProtocol<Any?>
11+
12+
// CHECK: @"$s4main5crashAA8Protocol_pypSg1TAaCPRts_XPvp" =
13+
// CHECK: !DIGlobalVariable(name: "crash", linkageName: "$s4main5crashAA8Protocol_pypSg1TAaCPRts_XPvp"

0 commit comments

Comments
 (0)