]> git.proxmox.com Git - rustc.git/blame - tests/debuginfo/gdb-char.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / debuginfo / gdb-char.rs
CommitLineData
ee023bcb
FG
1// GDB got support for DW_ATE_UTF in 11.2, see
2// https://sourceware.org/bugzilla/show_bug.cgi?id=28637.
3
4// min-gdb-version: 11.2
5// compile-flags: -g
6
7// === GDB TESTS ===================================================================================
8
9// gdb-command:run
10// gdb-command:print ch
11// gdb-check:$1 = 97 'a'
12
13#![allow(unused_variables)]
14#![feature(omit_gdb_pretty_printer_section)]
15#![omit_gdb_pretty_printer_section]
16
17fn main() {
18 let ch: char = 'a';
19
20 zzz(); // #break
21}
22
23fn zzz() {()}