blob: e0cc871323bbad690efd36f18e68b3a0659868c5 [file] [log] [blame]
// REQUIRED_ARGS: -m64
/*
TEST_OUTPUT:
---
fail_compilation/fail80_m64.d(28): Error: cannot implicitly convert expression `"progress_rem"` of type `string` to `ulong`
fail_compilation/fail80_m64.d(29): Error: cannot implicitly convert expression `"redo"` of type `string` to `ulong`
---
*/
module paintshop;
class Image{}
class ResourceManager
{
Image getImage(char[] name) { return null; }
}
class Test
{
static Image[] images;
static void initIcons()
{
images["progress_rem"] = ResourceManager.getImage("progress_rem.gif"); // delete_obj_dis
images["redo"] = ResourceManager.getImage("redo.gif");
}
}