Changeset 23c4aa8 for src/tests


Ignore:
Timestamp:
Feb 24, 2017, 3:23:59 PM (8 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:
167a9c8, 356c62a
Parents:
255b294
Message:

fix constructor transitivity rule

Location:
src/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/globals.txt

    r255b294 r23c4aa8  
    1 static  inline  autogen value
     1static          inline          autogen         value
    22no              no              no              22
    33no              no              yes             22
  • src/tests/globals.c

    r255b294 r23c4aa8  
    7070
    7171int main() {
    72         sout | "static\tinline\tautogen\tvalue" | endl;
     72        sout | "static\t\tinline\t\tautogen\t\tvalue" | endl;
    7373
    7474        sout | "no \t\tno \t\tno \t\t" | g.val.value    | endl;
  • src/tests/simpleGenericTriple.c

    r255b294 r23c4aa8  
    2828  int x1 = 123, x3 = 456;
    2929  double x2 = 999.123;
    30   struct T3(int) Li = { x1, x2, x3 };
     30  struct T3(int) Li = { x1, (int)x2, x3 };
    3131  struct T3(int) Ri = { 9, 2, 3 };
    3232  struct T3(int) reti = Li+Ri;
Note: See TracChangeset for help on using the changeset viewer.