We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04a0a33 + a25c350 commit e3bb971Copy full SHA for e3bb971
lldb/test/API/lang/swift/external_provider_extra_inhabitants/main.swift
@@ -1,5 +1,7 @@
1
import CoreGraphics
2
3
+func use<T>(_ t: T) {}
4
+
5
public class MyClass {
6
// CGImage is consulted through the external info provider.
7
// This field is here to test that LLDB correctly calculates
@@ -8,7 +10,11 @@ public class MyClass {
8
10
public var unused: CGImage? = nil
9
11
public var size: CGSize? = nil
12
}
-let object = MyClass()
-object.size = CGSize(width:10, height:20)
13
-print(1) // Set breakpoint here.
+func f() {
14
+ let object = MyClass()
15
+ object.size = CGSize(width:10, height:20)
16
+ use(object)
17
+ print("Set breakpoint here.")
18
+}
19
20
+f()
0 commit comments