about summary refs log tree commit diff
path: root/src/test/ui/panic-runtime/auxiliary
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-12-28 20:15:16 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-12-29 23:39:56 +0300
commit4d2d0bad4e51d0d14d21b4e21cdb61b55dd11349 (patch)
tree9803bb601004e2fcb03d00009320067e439535d4 /src/test/ui/panic-runtime/auxiliary
parent158f8d034b15e65ba8dc0d066358dd0632bfcd6e (diff)
Remove `compile-fail` test suite
Diffstat (limited to 'src/test/ui/panic-runtime/auxiliary')
-rw-r--r--src/test/ui/panic-runtime/auxiliary/depends.rs8
-rw-r--r--src/test/ui/panic-runtime/auxiliary/needs-panic-runtime.rs6
2 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/panic-runtime/auxiliary/depends.rs b/src/test/ui/panic-runtime/auxiliary/depends.rs
new file mode 100644
index 00000000000..e9bc2f4893e
--- /dev/null
+++ b/src/test/ui/panic-runtime/auxiliary/depends.rs
@@ -0,0 +1,8 @@
+// no-prefer-dynamic
+
+#![feature(panic_runtime)]
+#![crate_type = "rlib"]
+#![panic_runtime]
+#![no_std]
+
+extern crate needs_panic_runtime;
diff --git a/src/test/ui/panic-runtime/auxiliary/needs-panic-runtime.rs b/src/test/ui/panic-runtime/auxiliary/needs-panic-runtime.rs
new file mode 100644
index 00000000000..3f030c169f6
--- /dev/null
+++ b/src/test/ui/panic-runtime/auxiliary/needs-panic-runtime.rs
@@ -0,0 +1,6 @@
+// no-prefer-dynamic
+
+#![feature(needs_panic_runtime)]
+#![crate_type = "rlib"]
+#![needs_panic_runtime]
+#![no_std]