2015-05-25 20:14:05 +00:00
|
|
|
// Test tuple litterals
|
|
|
|
|
|
|
|
fn foo() {
|
|
|
|
let a = (a, a, a, a, a);
|
2015-09-23 23:15:08 +00:00
|
|
|
let aaaaaaaaaaaaaaaa = (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
|
|
|
|
aaaaaaaaaaaaaa,
|
|
|
|
aaaaaaaaaaaaaa);
|
2015-05-25 20:14:05 +00:00
|
|
|
let aaaaaaaaaaaaaaaaaaaaaa = (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
|
2015-09-04 16:09:05 +00:00
|
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
|
2015-05-25 20:14:05 +00:00
|
|
|
aaaaaaaaaaaaaaaaaaaaaaaaa,
|
|
|
|
aaaa);
|
2015-05-30 14:52:46 +00:00
|
|
|
let a = (a,);
|
2015-06-23 13:58:58 +00:00
|
|
|
|
|
|
|
let b = (// This is a comment
|
|
|
|
b, // Comment
|
|
|
|
b /* Trailing comment */);
|
2015-05-25 20:14:05 +00:00
|
|
|
}
|
2015-07-14 22:38:54 +00:00
|
|
|
|
|
|
|
fn a() {
|
|
|
|
((aaaaaaaa,
|
|
|
|
aaaaaaaaaaaaa,
|
|
|
|
aaaaaaaaaaaaaaaaa,
|
|
|
|
aaaaaaaaaaaaaa,
|
|
|
|
aaaaaaaaaaaaaaaa,
|
|
|
|
aaaaaaaaaaaaaa),)
|
|
|
|
}
|
|
|
|
|
|
|
|
fn b() {
|
2015-09-23 23:15:08 +00:00
|
|
|
((bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
|
|
|
|
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb),
|
2015-07-14 22:38:54 +00:00
|
|
|
bbbbbbbbbbbbbbbbbb)
|
|
|
|
}
|