Changeset 9d169f1
- Timestamp:
- Feb 22, 2017, 10:36:46 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:
- 1acc066, 6db3e73, bf76eab
- Parents:
- 734891d
- Location:
- src/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/abs.txt
r734891d r9d169f1 1 char ¿ abs A1 char -65 abs 65 2 2 signed int -65 abs 65 3 3 signed long int -65 abs 65 -
src/tests/abs.c
r734891d r9d169f1 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.