Skip to content

Commit 3767fd1

Browse files
committed
Add print("break") to closure
1 parent 048ba28 commit 3767fd1

File tree

1 file changed

+3
-2
lines changed
  • lldb/test/API/functionalities/data-formatter/swift-unsafe

1 file changed

+3
-2
lines changed

lldb/test/API/functionalities/data-formatter/swift-unsafe/main.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class Number<T:Numeric> {
3535
}
3636
}
3737

38-
// Ensure "Raw" in the name doesn't confuse the data formatters into thinking
39-
// it's a raw value.
38+
// Put "Raw" in the name to test that the data formatter is not confused into
39+
// choosing a one of the Unsafe*Raw types.
4040
struct NotRaw {
4141
var x: Int
4242
}
@@ -212,6 +212,7 @@ func main() {
212212

213213
let cooked: [NotRaw] = [.init(x: 1), .init(x: 2), .init(x: 4)]
214214
cooked.withUnsafeBufferPointer { buffer in
215+
print("break")
215216
//% self.expect("frame variable buffer",
216217
//% patterns=[
217218
//% '\(UnsafeBufferPointer<a.NotRaw>\) buffer = 3 values \(0[xX][0-9a-fA-F]+\) {',

0 commit comments

Comments
 (0)