]>
Commit | Line | Data |
---|---|---|
1 | // min-lldb-version: 310 | |
2 | ||
3 | // compile-flags:-g | |
4 | ||
5 | // This test checks whether debuginfo generation can handle multi-byte UTF-8 | |
6 | // characters at the end of a block. There's no need to do anything in the | |
7 | // debugger -- just make sure that the compiler doesn't crash. | |
8 | // See also issue #18791. | |
9 | ||
10 | struct C { θ: u8 } | |
11 | ||
12 | fn main() { | |
13 | let x = C { θ: 0 }; | |
14 | (|c: C| c.θ )(x); | |
15 | } |