Changeset 7416d46a for src/tests/io.c


Ignore:
Timestamp:
Jan 30, 2018, 3:54:32 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
633a642
Parents:
f792cb8 (diff), 42be3c3 (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:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/io.c

    rf792cb8 r7416d46a  
    1010// Created On       : Wed Mar  2 16:56:02 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Dec  6 23:15:42 2017
    13 // Update Count     : 88
     12// Last Modified On : Fri Jan 26 15:19:34 2018
     13// Update Count     : 100
    1414//
    1515
     
    1717
    1818int main() {
    19         char c;                                                                                         // basic types
     19        _Bool b;                                                                                        // basic types
     20        char c;
    2021        signed char sc;
    2122        unsigned char usc;
     
    9091
    9192        sout | "input bacis types" | endl;
    92         in       | c | sc | usc                                                                 // character
     93        in       | b                                                                                    // boolean
     94                 | c | sc | usc                                                                 // character
    9395                 | si | usi | i | ui | li | uli | lli | ulli    // integral
    9496                 | f | d | ld                                                                   // floating point
     
    98100
    99101        sout | "output basic types" | endl;
    100         sout | c | ' ' | sc | ' ' | usc | endl                          // character
     102        sout | b | endl                                                                         // boolean
     103                 | c | ' ' | sc | ' ' | usc | endl                              // character
    101104                 | si | usi | i | ui | li | uli | lli | ulli | endl // integral
    102105                 | f | d | ld | endl                                                    // floating point
Note: See TracChangeset for help on using the changeset viewer.