Skip to content

Commit

Permalink
tests/assembly: add minicore compiletest self-test
Browse files Browse the repository at this point in the history
Check that `minicore` cannot be used with `run-{pass,fail}` tests.
  • Loading branch information
jieyouxu committed Oct 31, 2024
1 parent 59cb59d commit b115a22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/assembly/compiletest-self-test/use-minicore-no-run.rs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b115a22

Please sign in to comment.