Skip to content

Commit 466cba7

Browse files
committed
update No.swiftmodule.swift
1 parent 5d0f70d commit 466cba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/Shell/Swift/Inputs/No.swiftmodule.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import NoSwiftmoduleHelper
22

3-
// The struct could not possibly be resolved with just the mangled type name.
3+
// The struct is resolved using type metadata and the Swift runtime.
44
struct s { let i = 0 }
55

66
func useTypeFromOtherModule(x: S2) {
@@ -12,7 +12,7 @@ func f<T>(_ t: T) {
1212
let array = [1, 2, 3] // CHECK-DAG: ([Int]) array = 3 values
1313
let string = "hello" // CHECK-DAG: (String) string = "hello"
1414
let tuple = (0, 1) // CHECK-DAG: (Int, Int) tuple = (0 = 0, 1 = 1)
15-
let strct = s() // CHECK-DAG: strct = {}{{$}}
15+
let strct = s() // CHECK-DAG: strct = (i = 0)
1616
let strct2 = S2() // CHECK-DAG: strct2 = {}{{$}}
1717
let generic = t // CHECK-DAG: (Int) generic = 23
1818
let generic_tuple = (t, t) // CHECK-DAG: generic_tuple = (0 = 23, 1 = 23)

0 commit comments

Comments
 (0)