Skip to content

Commit

Permalink
Move some more tests to check-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSeulArtichaut committed Mar 12, 2020
1 parent 7326e53 commit 8f0fa24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-eval/double_promotion.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass
// check-pass

#![feature(const_fn, rustc_attrs)]

Expand Down
5 changes: 4 additions & 1 deletion src/test/ui/consts/const-eval/ice-packed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// build-pass
// Regression test for #50356: Compiler panic when using repr(packed)
// associated constant in a match arm

// check-pass
#[derive(Copy, Clone, PartialEq, Eq)]
#[repr(packed)]
pub struct Num(u64);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-eval/issue-51300.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass
// check-pass
// https://github.com/rust-lang/rust/issues/51300

#[derive(PartialEq, Eq, Clone, Copy)]
Expand Down

0 comments on commit 8f0fa24

Please sign in to comment.