blob: 6f4046a4eec98069280f9c343cabe3c7174abac5 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail190.d(9): Error: can't have pointer to (int, int, int)
fail_compilation/fail190.d(16): Error: template instance fail190.f!(int, int, int) error instantiating
---
*/
T* f(T...)(T x)
{
return null;
}
void main()
{
auto x = f(2,3,4);
*x = *x;
}