module main;
import std.stdio, std.string;
struct RGBA
{
ubyte r;
ubyte g;
ubyte b;
ubyte a;
string toString() { return format("{%s, %s, %s, %s}", r, g, b, a); }
}
static f = cast(RGBA[]) cast(ubyte[])[0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70];
static g = cast(RGBA[]) cast(ubyte[])[0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70].dup;
enum h = cast(ubyte[])[0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70].dup;
static h2 = cast(RGBA[]) h.dup;
enum h3 = cast(RGBA[]) h;
void main()
{
writeln(f);
writeln(h2);
writeln(h3);
}