- Timestamp:
- Feb 24, 2017, 3:58:07 PM (9 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:
- 1630f18, ef9cc56
- Parents:
- 43c89a7 (diff), 23c4aa8 (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. - Location:
- src/tests
- Files:
-
- 2 added
- 2 edited
-
.expect/globals.txt (added)
-
globals.c (added)
-
monitor.c (modified) (1 diff)
-
simpleGenericTriple.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/monitor.c
r43c89a7 r167a9c8 16 16 17 17 void increment( /*mutex*/ global_t * this ) { 18 enter( &this->m );18 monitor_guard g = { &this->m }; 19 19 this->value += 1; 20 leave( &this->m );21 20 } 22 21 -
src/tests/simpleGenericTriple.c
r43c89a7 r167a9c8 28 28 int x1 = 123, x3 = 456; 29 29 double x2 = 999.123; 30 struct T3(int) Li = { x1, x2, x3 };30 struct T3(int) Li = { x1, (int)x2, x3 }; 31 31 struct T3(int) Ri = { 9, 2, 3 }; 32 32 struct T3(int) reti = Li+Ri;
Note:
See TracChangeset
for help on using the changeset viewer.