diff options
Diffstat (limited to 'src/test/ui/panic-runtime/runtime-depend-on-needs-runtime.rs')
-rw-r--r-- | src/test/ui/panic-runtime/runtime-depend-on-needs-runtime.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/panic-runtime/runtime-depend-on-needs-runtime.rs b/src/test/ui/panic-runtime/runtime-depend-on-needs-runtime.rs new file mode 100644 index 000000000..d57f1643e --- /dev/null +++ b/src/test/ui/panic-runtime/runtime-depend-on-needs-runtime.rs @@ -0,0 +1,8 @@ +// dont-check-compiler-stderr +// aux-build:needs-panic-runtime.rs +// aux-build:depends.rs +// error-pattern:cannot depend on a crate that needs a panic runtime + +extern crate depends; + +fn main() {} |