From b115a228285676f0c11c4df7f6f3e279d2a6ec36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:55:56 +0800 Subject: [PATCH] tests/assembly: add `minicore` compiletest self-test Check that `minicore` cannot be used with `run-{pass,fail}` tests. --- tests/assembly/compiletest-self-test/use-minicore-no-run.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/assembly/compiletest-self-test/use-minicore-no-run.rs diff --git a/tests/assembly/compiletest-self-test/use-minicore-no-run.rs b/tests/assembly/compiletest-self-test/use-minicore-no-run.rs new file mode 100644 index 00000000000..0e4f05c4b37 --- /dev/null +++ b/tests/assembly/compiletest-self-test/use-minicore-no-run.rs @@ -0,0 +1,5 @@ +//! `compiletest` self-test to check that `add-core-stubs` is incompatible with run pass modes. + +//@ add-core-stubs +//@ run-pass +//@ should-fail