1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/mangle2.d(20): Error: pragma mangle char 0x20 not allowed in mangled name 5 fail_compilation/mangle2.d(21): Error: pragma mangle char 0x20 not allowed in mangled name 6 fail_compilation/mangle2.d(24): Error: pragma mangle char 0x0a not allowed in mangled name 7 fail_compilation/mangle2.d(25): Error: pragma mangle char 0x0a not allowed in mangled name 8 fail_compilation/mangle2.d(28): Error: pragma mangle char 0x07 not allowed in mangled name 9 fail_compilation/mangle2.d(29): Error: pragma mangle char 0x07 not allowed in mangled name 10 fail_compilation/mangle2.d(32): Error: pragma mangle char 0x01 not allowed in mangled name 11 fail_compilation/mangle2.d(33): Error: pragma mangle char 0x01 not allowed in mangled name 12 fail_compilation/mangle2.d(36): Error: pragma mangle char 0x00 not allowed in mangled name 13 fail_compilation/mangle2.d(37): Error: pragma mangle char 0x00 not allowed in mangled name 14 fail_compilation/mangle2.d(40): Error: pragma mangle Outside Unicode code space 15 fail_compilation/mangle2.d(41): Error: pragma mangle Outside Unicode code space 16 --- 17 */ 18 19 //spaces 20 __gshared pragma(mangle, "test 9") ubyte test9_1; 21 __gshared extern pragma(mangle, "test 9") ubyte test9_1_e; 22 23 //\n chars 24 __gshared pragma(mangle, "test\n9") ubyte test9_2; 25 __gshared extern pragma(mangle, "test\n9") ubyte test9_2_e; 26 27 //\a chars 28 __gshared pragma(mangle, "test\a9") ubyte test9_3; 29 __gshared extern pragma(mangle, "test\a9") ubyte test9_3_e; 30 31 //\x01 chars 32 __gshared pragma(mangle, "test\x019") ubyte test9_4; 33 __gshared extern pragma(mangle, "test\x019") ubyte test9_4_e; 34 35 //\0 chars 36 __gshared pragma(mangle, "test\09") ubyte test9_5; 37 __gshared extern pragma(mangle, "test\09") ubyte test9_5_e; 38 39 //\xff chars 40 __gshared pragma(mangle, "test\xff9") ubyte test9_6; 41 __gshared extern pragma(mangle, "test\xff9") ubyte test9_6_e; 42 43