const ref void[] test

Code



Compilation output:

/home/c209/c278.d(28): Error: function c278.foo_ref (ref void[] data) is not callable using argument types (float[])
/home/c209/c278.d(28): Error: cast(void[])bar is not an lvalue
/home/c209/c278.d(29): Error: function c278.foo_const_ref (ref const(void[]) data) is not callable using argument types (float[])
/home/c209/c278.d(29): Error: cast(const(void[]))bar is not an lvalue


Paste info


Author: dav1d
Views: 179
Private: no
Expires: Never
Uploaded: 23.07.12 12:11
Parent: #31a16eab
Votes: 0

Compilation


Compiler: DMD 2.062
Pointer size: m32