October 06, 2003 BUG Internal Error | ||||
---|---|---|---|---|
| ||||
Internal error: ..\ztc\cgcod.c 1459 with this code: import c.stdio; import file; import string; const char[] welcomeMessage = "Welcome To Test 5\nwritten by davepermen\n"; int main(char[][] args) { printf(cast(char*)welcomeMessage); char[] shader = cast(char[])file.read("Asm.txt"); char[][] instructions = string.split(shader,";"); foreach(inout char[] instr; instructions) { string.strip(instr); } foreach(char[] instruction; instructions) { printf("instr: %s\n",toStringz(instruction)); } getch(); return 0; } |
Copyright © 1999-2021 by the D Language Foundation