summary refs log tree commit diff
path: root/src/test/run-pass/enum-nullable-const-null-with-fields.rs
AgeCommit message (Collapse)AuthorLines
2014-01-09Fix ICE on const of nullable enum with fields in null case.Jed Davis-0/+19
That is, if you have an enum type that is subject to the nullable pointer optimization, but the null variant has a nonzero number of fields, and you declare a static whose value is of that variant, then that used to be an ICE but this change fixes it.