blob: 5a32fe22f31b1bc51b2991c06fc28bcb23b68264 [file] [log] [blame]
#![deny(ambiguous_panic_imports)]
#![crate_type = "lib"]
#![no_std]
extern crate std;
use std::prelude::v1::*;
fn xx() {
panic!();
//~^ ERROR `panic` is ambiguous
//~| WARNING this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
}