Move some more tests to check-pass

This commit is contained in:
LeSeulArtichaut 2020-03-12 17:22:44 +01:00
parent 7326e530f2
commit 8f0fa24d7b
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
#![feature(const_fn, rustc_attrs)]

View File

@ -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);

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
// https://github.com/rust-lang/rust/issues/51300
#[derive(PartialEq, Eq, Clone, Copy)]