- Timestamp:
- Aug 9, 2017, 5:56:44 PM (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:
- 0a5b683, 3b4571b, cd7ef0b
- Parents:
- 0ec9229
- Location:
- src/tests
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/div.c
r0ec9229 re1780a2 11 11 // Created On : Tue Aug 8 16:28:43 2017 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : Tue Aug 8 18:02:44201714 // Update Count : 1 413 // Last Modified On : Wed Aug 9 17:09:40 2017 14 // Update Count : 16 15 15 // 16 16 … … 28 28 sout | "div" | div( s1, s2 ) | endl; 29 29 T t1 = { 13 }, t2 = { 5 }; 30 [t1, t2] = div( t1, t2 ); // polymorphic div 31 sout | "div" | t1 | t2 | endl; 32 // sout | "div" | div( t1, t2 ) | endl; 30 sout | "div" | div( t1, t2 ) | endl; // polymorphic div 33 31 } // main 34 32
Note: See TracChangeset
for help on using the changeset viewer.