Changeset b3c7963 for src/tests/io.c


Ignore:
Timestamp:
Sep 12, 2017, 5:55:31 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
4639b0d
Parents:
a506df4 (diff), a46478a (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:/u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/io.c

    ra506df4 rb3c7963  
    1010// Created On       : Wed Mar  2 16:56:02 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Aug 23 21:27:50 2017
    13 // Update Count     : 79
     12// Last Modified On : Mon Sep 11 08:53:41 2017
     13// Update Count     : 81
    1414//
    1515
     
    1818int main() {
    1919        char c;                                                                                         // basic types
     20        signed char sc;
     21        unsigned char usc;
    2022        short int si;
    2123        unsigned short int usi;
     
    8991
    9092        sout | "input bacis types" | endl;
    91         &in | c                                                                                         // character
     93        &in | c | sc | usc                                                                      // character
    9294                | si | usi | i | ui | li | uli | lli | ulli             // integral
    9395                | f | d | ld                                                                    // floating point
     
    9799
    98100        sout | "output basic types" | endl;
    99         sout | c | ' ' | endl                                                           // character
     101        sout | c | ' ' | sc | ' ' | usc | endl                          // character
    100102                | si | usi | i | ui | li | uli | lli | ulli | endl // integral
    101103                | f | d | ld | endl                                                             // floating point
Note: See TracChangeset for help on using the changeset viewer.