Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.2
 
1.3
 
MAIN:plunky:20111108105801
 
init010.c
_>11 /* correct c99 6.5.2.5 */
 22 
<> 3+char *strcpy(char *, const char *);
  4+
35 int main(int *argc, char **argv)
 46 {
 57         char *a = "abcd";
 68         char *b = (char []) {"abcd"};
<>7 -        char *c = (const char []){"abcd"};
 8 -        (const char []){"abcd"} = "abcd"; // well... this should work... 
 9 -                                                                                                 // 6.5.2.5
  9+        const char *c = (const char []){"abcd"};
  10+        (const char []){"abcd"} == "abcd";      // example 6
  11+        (char []){"abcd"}[3] = 'x';             // compound literal as lvalue
<_1012         strcpy(b,"dcba");
 1113 
 1214         return 0;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-11-01 08:35 +0100