about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/crashes/span_delayed_bug.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/crashes/span_delayed_bug.rs b/tests/crashes/span_delayed_bug.rs
new file mode 100644
index 00000000000..e410f730415
--- /dev/null
+++ b/tests/crashes/span_delayed_bug.rs
@@ -0,0 +1,4 @@
+#![feature(rustc_attrs)]
+
+#[rustc_error(delayed_bug_from_inside_query)]
+fn main() {}