mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
18 lines
302 B
D
18 lines
302 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail190.d(9): Error: cannot 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;
|
|
}
|