mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
31 lines
655 B
D
31 lines
655 B
D
// REQUIRED_ARGS: -m32
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail80_m32.d(28): Error: cannot implicitly convert expression `"progress_rem"` of type `string` to `uint`
|
|
fail_compilation/fail80_m32.d(29): Error: cannot implicitly convert expression `"redo"` of type `string` to `uint`
|
|
---
|
|
*/
|
|
|
|
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");
|
|
}
|
|
}
|