MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail80_m32.d
bloba378fbbfdeb637d6966893769cd3981a23c87cbc
1 // REQUIRED_ARGS: -m32
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail80_m32.d(28): Error: cannot implicitly convert expression `"progress_rem"` of type `string` to `uint`
6 fail_compilation/fail80_m32.d(29): Error: cannot implicitly convert expression `"redo"` of type `string` to `uint`
7 ---
8 */
10 module paintshop;
12 class Image{}
14 class ResourceManager
16 Image getImage(char[] name) { return null; }
19 class Test
24 static Image[] images;
26 static void initIcons()
28 images["progress_rem"] = ResourceManager.getImage("progress_rem.gif"); // delete_obj_dis
29 images["redo"] = ResourceManager.getImage("redo.gif");