Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/div.cfa

    r200fcb3 rdc8511c  
    1010// Created On       : Tue Aug  8 16:28:43 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Dec  4 21:35:01 2018
    13 // Update Count     : 20
     12// Last Modified On : Tue Nov  6 17:53:10 2018
     13// Update Count     : 19
    1414//
    1515
    1616#include <fstream.hfa>
    17 #include <stdlib.hfa>                                                                   // div
     17#include <stdlib.hfa>                                                                           // div
    1818
    1919struct T { int i; };
     
    2323
    2424int main( void ) {
    25         sout | "div" | div( 13, 5 ) | div( 13L, 5L ) | div( 13LL, 5LL );
     25        sout | "div" | div( 13, 5 ) | div( 13L, 5L ) | div( 13LL, 5LL ) | endl;
    2626        short s1 = 13, s2 = 5;
    27         sout | "div" | div( s1, s2 );
     27        sout | "div" | div( s1, s2 ) | endl;
    2828        T t1 = { 13 }, t2 = { 5 };
    29         sout | "div" | div( t1, t2 );                                           // polymorphic div
     29        sout | "div" | div( t1, t2 ) | endl;                            // polymorphic div
    3030} // main
    3131
Note: See TracChangeset for help on using the changeset viewer.