Add regression test for #54582

This commit is contained in:
Esteban Küber 2019-01-20 17:14:15 -08:00
parent 0c0c585281
commit 3ecbe1efa0

View File

@ -0,0 +1,16 @@
// run-pass
pub trait Stage: Sync {}
pub enum Enum {
A,
B,
}
impl Stage for Enum {}
pub static ARRAY: [(&Stage, &str); 1] = [
(&Enum::A, ""),
];
fn main() {}