Skip to content

Commit dfcf8c6

Browse files
committed
Add a -betterC test for std.typecons.Tuple
1 parent ca0effb commit dfcf8c6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/betterC/typecons.d

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extern(C) void main()
2+
{
3+
import std.typecons;
4+
auto t = tuple(1, 2);
5+
assert(t == tuple(1, 2));
6+
auto t3 = tuple(1, 'd');
7+
}

0 commit comments

Comments
 (0)