Skip to content

Commit

Permalink
23513
Browse files Browse the repository at this point in the history
  • Loading branch information
bltavares committed Oct 31, 2015
1 parent 498a336 commit 6300969
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/23513.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enum E { A, }

const C: [u32; 1] = [1];

fn main() {
let a = C[E::A as usize];
}

0 comments on commit 6300969

Please sign in to comment.