scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | 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 }