Skip to content

Commit d23e245

Browse files
committed
Move no_main test to compile-fail
1 parent c93fc93 commit d23e245

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/compile-fail/no_main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// error-pattern: miri can only run programs that have a main function
2+
#![no_main]

tests/run-pass/no_main.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/run-pass/no_main.stderr

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)