Changes in src/tests/Scope.c [10dc7491:e5b96bf]
- File:
-
- 1 edited
-
src/tests/Scope.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Scope.c
r10dc7491 re5b96bf 3 3 typedef float t; 4 4 y z; 5 //otype u = struct { int a; double b; }; 6 typedef struct { int a; double b; } u; 5 otype u = struct { int a; double b; }; 7 6 int f( int y ); 8 7 y q; 9 struct x { int x; };10 8 11 9 y w( y y, u v ) { 12 // otype x | { x t(u); }; 13 void ?{}(struct x *); 14 void ^?{}(struct x *); 15 extern struct x t( u ); 10 otype x | { x t(u); }; 16 11 u u = y; 17 structx z = t(u);12 x z = t(u); 18 13 } 19 14 … … 45 40 } 46 41 47 void some_func() {}48 49 42 t g( void ) { 50 43 typedef char x; 51 //try {44 try { 52 45 some_func(); 53 //} catch ( x x ) {54 //t y = x;55 //}46 } catch ( x x ) { 47 t y = x; 48 } 56 49 x z; 57 50 }
Note:
See TracChangeset
for help on using the changeset viewer.