Changeset 1acc066 for src/tests/abs.c
- Timestamp:
- Feb 23, 2017, 10:53:54 AM (7 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:
- 6291725
- Parents:
- 14ce3392 (diff), 9d169f1 (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/abs.c
r14ce3392 r1acc066 10 10 // Created On : Thu Jan 28 18:26:16 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Mar 2 15:07:26 201613 // Update Count : 5 112 // Last Modified On : Wed Feb 22 22:31:03 2017 13 // Update Count : 52 14 14 // 15 15 … … 18 18 19 19 int main( void ) { 20 char ch = -65;20 signed char ch = -65; 21 21 sout | "char\t\t\t" | ch | "\tabs " | abs( ch ) | endl; 22 22 sout | "signed int\t\t" | -65 | "\tabs" | abs( -65 ) | endl;
Note: See TracChangeset
for help on using the changeset viewer.