mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
16 lines
214 B
D
16 lines
214 B
D
// https://issues.dlang.org/show_bug.cgi?id=17635
|
|
|
|
alias T = immutable int;
|
|
|
|
T** f(const T** input) pure
|
|
{
|
|
T** output;
|
|
return output;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
T i;
|
|
T* p = &i;
|
|
immutable T** r = f(&p);
|
|
}
|