2 // Although useless, enums may be empty.
7 R_Test1, // starts at 0
13 R_Test10, // is also 0
16 R_Test13, // should be 1112
18 R_Test15 = -999, // may have comma
21 //enum { R_Test10 = 7 }; // duplicate symbol
23 resource(R_Test1) 123;
24 //resource(R_Test10) 123; // duplicate resource
25 resource(R_Test11) 123;
26 resource(R_Test15) 123;
27 resource(R_Test15) "123";
28 //resource(R_NotExists) 123; // unknown symbol
30 resource(R_Test12) 123;
31 resource(R_Test13) 123; // should have ID 1112
32 resource(R_Test13, "yeah") $"4041"; // R_RAWT_yeah
33 resource(R_Test13, "yeah\0what") 10.0; // R_FLOT_yeah
34 //resource(R_Test13, "yeah\0what") $"4041"; // duplicate resource