Changeset a0ba5e6 for tests/tuple
- Timestamp:
- Nov 13, 2020, 5:02:51 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1e208ea
- Parents:
- a056f56 (diff), 726b748 (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
-
tests/tuple/tupleAssign.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/tuple/tupleAssign.cfa
ra056f56 ra0ba5e6 44 44 double d = 0.0; 45 45 int i = 0; 46 char c = '\0';46 signed char c = '\0'; 47 47 struct X { 48 48 int z; … … 55 55 [t, x, d, i, c, x] = (double)94.12; 56 56 printf( "d=%lg i=%d c=%c t=[%d, %lg, %d]\n", d, i, (int)c, t ); 57 sout | "d=" | d | "i=" | i | "c=" | c | ' ' | "t=[" | t | "]";57 sout | "d=" | d | "i=" | i | "c=" | (char)c | ' ' | "t=[" | t | "]"; 58 58 [x, c, i, d, x, t] = (double)-94.12; 59 59 printf( "d=%lg i=%d c=%c t=[%d, %lg, %d]\n", d, i, c, t ); 60 sout | "d=" | d | "i=" | i | "c=" | c | ' ' | "t=[" | t | "]";60 sout | "d=" | d | "i=" | i | "c=" | (char)c | ' ' | "t=[" | t | "]"; 61 61 } 62 62 }
Note:
See TracChangeset
for help on using the changeset viewer.