mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 01:44:04 +00:00
Remove nil-enum test
This commit is contained in:
parent
2ba3e66fa6
commit
0a8b696793
@ -1,24 +0,0 @@
|
|||||||
// LLDB can't handle zero-sized values.
|
|
||||||
// ignore-lldb
|
|
||||||
|
|
||||||
// compile-flags:-g
|
|
||||||
// gdb-command:run
|
|
||||||
|
|
||||||
// gdb-command:print *first
|
|
||||||
// gdbg-check:$1 = {<No data fields>}
|
|
||||||
// gdbr-check:$1 = <error reading variable>
|
|
||||||
|
|
||||||
#![allow(unused_variables)]
|
|
||||||
#![feature(omit_gdb_pretty_printer_section)]
|
|
||||||
#![feature(maybe_uninit)]
|
|
||||||
#![omit_gdb_pretty_printer_section]
|
|
||||||
|
|
||||||
enum Void {}
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
let first: *const Void = 1 as *const _;
|
|
||||||
|
|
||||||
zzz(); // #break
|
|
||||||
}
|
|
||||||
|
|
||||||
fn zzz() {}
|
|
Loading…
Reference in New Issue
Block a user