Home
       0024-lvale-cast.c - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       0024-lvale-cast.c (145B)
       ---
            1 /*
            2 PATTERN:
            3 0024-lvale-cast.c:12: error: lvalue required in operation
            4 .
            5 */
            6 
            7 int
            8 main()
            9 {
           10         int a;
           11 
           12         (char) a = 1025;
           13 
           14         return (a == 1) ? 0 : 1;
           15 }