fix run-pass test that required Copy
impl
This commit is contained in:
parent
9e0171f7c8
commit
75da4b663e
1 changed files with 2 additions and 0 deletions
|
@ -8,7 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
enum E { V1(isize), V0 }
|
||||
|
||||
const C: &'static [E] = &[E::V0, E::V1(0xDEADBEE)];
|
||||
static C0: E = C[0];
|
||||
static C1: E = C[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue