// min-lldb-version: 310// compile-flags:-g// gdb-command:run// gdb-command:print string1.length// gdb-check:1ドル = 48// gdb-command:print string2.length// gdb-check:2ドル = 49// gdb-command:print string3.length// gdb-check:3ドル = 50// gdb-command:continue// === LLDB TESTS ==================================================================================// lldb-command:run// lldb-command:print string1.length// lldbg-check:[...]0ドル = 48// lldbr-check:(usize) length = 48// lldb-command:print string2.length// lldbg-check:[...]1ドル = 49// lldbr-check:(usize) length = 49// lldb-command:print string3.length// lldbg-check:[...]2ドル = 50// lldbr-check:(usize) length = 50// lldb-command:continue#![allow(unused_variables)]#![feature(omit_gdb_pretty_printer_section)]#![omit_gdb_pretty_printer_section]// This test case makes sure that debug info does not ICE when include_str is// used multiple times (see issue #11322).fn main() {let string1 = include_str!("text-to-include-1.txt");let string2 = include_str!("text-to-include-2.txt");let string3 = include_str!("text-to-include-3.txt");zzz(); // #break}fn zzz() {()}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。