- Timestamp:
- Nov 15, 2016, 5:30:52 PM (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:
- d9fa60a
- Parents:
- 8f9cc50
- Location:
- src/tests
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/tupleAssign.c
r8f9cc50 r33a7b6d 1 // 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 // 4 // The contents of this file are covered under the licence agreement in the 5 // file "LICENCE" distributed with Cforall. 6 // 7 // tupleAssign.c -- 8 // 9 // Author : Rob Schluntz 10 // Created On : Tue Nov 15 17:24:32 2016 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Nov 15 17:27:28 2016 13 // Update Count : 3 14 // 15 1 16 int main() { 2 17 { … … 39 54 } 40 55 } 56 57 // Local Variables: // 58 // tab-width: 4 // 59 // End: // -
src/tests/tupleFunction.c
r8f9cc50 r33a7b6d 1 // 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 // 4 // The contents of this file are covered under the licence agreement in the 5 // file "LICENCE" distributed with Cforall. 6 // 7 // tupleFunction.c -- 8 // 9 // Author : Rob Schluntz 10 // Created On : Tue Nov 15 17:24:32 2016 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Nov 15 17:27:28 2016 13 // Update Count : 3 14 // 15 1 16 struct S { 2 17 int f1, f2; … … 77 92 printf("x1=%d x2=%lg x3=%d\n", x1, x2, x3); 78 93 } 94 95 // Local Variables: // 96 // tab-width: 4 // 97 // End: // 98 -
src/tests/tupleMember.c
r8f9cc50 r33a7b6d 1 // 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 // 4 // The contents of this file are covered under the licence agreement in the 5 // file "LICENCE" distributed with Cforall. 6 // 7 // tupleFunction.c -- 8 // 9 // Author : Rob Schluntz 10 // Created On : Tue Nov 15 17:24:32 2016 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Nov 15 17:27:28 2016 13 // Update Count : 3 14 // 15 1 16 void f() { 2 17 printf("called f!\n"); … … 41 56 printf("v.[f1, i.[f2, f3], f4]=[%d, [%d, %d], %lg]\n", h().[f1, i.[f2, f3], f4]); 42 57 } 58 59 // Local Variables: // 60 // tab-width: 4 // 61 // End: //
Note: See TracChangeset
for help on using the changeset viewer.