more cases added
[libfirm] / ir / be / test / fehler13.c
index 2319336..f27d0cd 100644 (file)
@@ -2,11 +2,13 @@
 
 int main()
 {
-       const char *s = "This is cool";
-       const char *t;
+       const char *s = "no compiler is perfect";
+       const char *t = s;
+       char c = *t;
 
-       for(t=s; !((isspace(*t) || (*t == '\"')) || *t=='\0'); t++)
-               ;
+       for( ; !((c == ' ') && (c != '\"')); t++) {
+               c = *t;
+       }
 
        printf("Res: %s\n", t);