added test for checking that ICEs are not hidden

This commit is contained in:
Quentin Boyer 2019-11-03 17:43:53 +01:00
parent aa028cdc99
commit 0f91ed4177

View File

@ -0,0 +1,8 @@
// revisions: cfail1 cfail2
// should-ice
// error-pattern: compilation successful
#![feature(rustc_attrs)]
#[rustc_error(delay_span_bug_from_inside_query)]
fn main() {}