Un-xfail test for #3521; it works now

Closes #3521
This commit is contained in:
Tim Chevalier 2012-10-15 14:17:16 -07:00
parent c886629d4f
commit 4f9e7babeb

View File

@ -1,9 +1,8 @@
// xfail-test
fn main() {
let foo = 100;
enum Stuff {
Bar = foo
Bar = foo //~ ERROR attempt to use a non-constant value in a constant
}
log(error, Bar);