Changeset d56cc219
- Timestamp:
- Jun 2, 2018, 9:58:01 AM (6 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, with_gc
- Children:
- 3ce0d440
- Parents:
- adb6a4f1
- git-author:
- Peter A. Buhr <pabuhr@…> (06/02/18 09:57:07)
- git-committer:
- Peter A. Buhr <pabuhr@…> (06/02/18 09:58:01)
- Location:
- src/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/ifcond.txt
radb6a4f1 rd56cc219 2 2 x != 0 && y != 0 correct 3 3 x == y correct 4 s.i < 4 correct -
src/tests/ifcond.c
radb6a4f1 rd56cc219 9 9 // Author : Peter A. Buhr 10 10 // Created On : Sat Aug 26 10:13:11 2017 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Fri Sep 01 15:22:19 201713 // Update Count : 1 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 2 09:55:02 2018 13 // Update Count : 15 14 14 // 15 15 … … 40 40 sout | "x != y incorrect" | endl; 41 41 } // if 42 43 if ( struct S { int i; } s = { 3 }; s.i < 4 ) { 44 sout | "s.i < 4 correct" | endl; 45 } else { 46 sout | "s.i >= 4 incorrect" | endl; 47 } // if 42 48 } // main 43 49
Note: See TracChangeset
for help on using the changeset viewer.