diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-11 18:55:56 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-31 18:20:11 +0800 |
| commit | b115a228285676f0c11c4df7f6f3e279d2a6ec36 (patch) | |
| tree | 230a749105329be2c44792a0c1529dd11eab775a | |
| parent | 59cb59d74d51c3b210d81880f07169d3efeea2a6 (diff) | |
| download | rust-b115a228285676f0c11c4df7f6f3e279d2a6ec36.tar.gz rust-b115a228285676f0c11c4df7f6f3e279d2a6ec36.zip | |
tests/assembly: add `minicore` compiletest self-test
Check that `minicore` cannot be used with `run-{pass,fail}` tests.
| -rw-r--r-- | tests/assembly/compiletest-self-test/use-minicore-no-run.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
