2011-05-15 01:51:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
// xfail-stage0
|
2011-05-15 01:51:31 -04:00
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
// Regression test for issue #377
|
|
|
|
fn main() {
|
|
|
|
auto a = { auto b = tup(3); b };
|
|
|
|
assert (a._0 == 3);
|
|
|
|
auto c = { auto d = rec(v=3); d };
|
|
|
|
assert (c.v == 3);
|
|
|
|
}
|