0045-struct.c - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       0045-struct.c (135B)
       ---
            1 struct T;
            2 
            3 struct T {
            4         int x;
            5 };
            6 
            7 int
            8 main()
            9 {
           10         struct T v;
           11         { struct T { int z; }; }
           12         v.x = 2;
           13         if(v.x != 2)
           14                 return 1;
           15         return 0;
           16 }