Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
fix17145.d
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
}