Changeset 28e58fd for src/tests/globals.c
- Timestamp:
- Aug 25, 2017, 10:38:34 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 800d275
- Parents:
- af08051 (diff), 3eab308c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/globals.c
raf08051 r28e58fd 5 5 }; 6 6 7 void ?{}( value_t * this ) { this->value = 22; }7 void ?{}( value_t & this ) { this.value = 22; } 8 8 9 9 //Standard case … … 12 12 }; 13 13 14 void ?{}( g_t * this ) { (&this->val){}; }14 void ?{}( g_t & this ) { (this.val){}; } 15 15 16 16 g_t g; … … 25 25 //Inline case 26 26 struct gi_t; 27 void ?{}( gi_t *this );27 void ?{}( gi_t & this ); 28 28 29 29 struct gi_t { … … 31 31 } gi; 32 32 33 void ?{}( gi_t * this ) { (&this->val){}; }33 void ?{}( gi_t & this ) { (this.val){}; } 34 34 35 35 //Inline autogen case … … 43 43 }; 44 44 45 void ?{}( gs_t * this ) { (&this->val){}; }45 void ?{}( gs_t & this ) { (this.val){}; } 46 46 47 47 static gs_t gs; … … 56 56 //Static inline case 57 57 struct gsi_t; 58 void ?{}( gsi_t *this );58 void ?{}( gsi_t & this ); 59 59 60 60 static struct gsi_t { … … 62 62 } gsi; 63 63 64 void ?{}( gsi_t * this ) { (&this->val){}; }64 void ?{}( gsi_t & this ) { (this.val){}; } 65 65 66 66 //Static inline autogen case
Note:
See TracChangeset
for help on using the changeset viewer.