blob: ab34c71dc45a8766c91c11748cf76e28049979a2 [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=17145
auto tuple(T...)(T t) {
struct Result {
T expand;
}
return Result(t);
}
void baz()
{
enum zoo = tuple(1, 2).expand; // Error: value of __tup1847 is not known at compile time
}