Changeset 8a443f4 for src/tests


Ignore:
Timestamp:
Aug 2, 2016, 6:40:27 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
73bf8cf2
Parents:
4d2434a (diff), becba789 (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' into ctor

Location:
src/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/tests/switch.c

    r4d2434a r8a443f4  
    1010// Created On       : Tue Jul 12 06:50:22 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 12 18:02:23 2016
    13 // Update Count     : 22
     12// Last Modified On : Sat Jul 30 14:41:32 2016
     13// Update Count     : 30
    1414//
    1515
     
    3333        } // switch
    3434
    35         // switch (3 ) {
    36         //      int j;
    37         //   case 3:
    38         //      break;
    39         //   case 4:
    40         //      j = 0;
    41         // }
     35        switch ( 3 ) {
     36                int j;
     37          case 3:
     38                break;
     39          case 4:
     40                j = 0;
     41        }
    4242
    4343        switch ( i ) {
     
    4949          default:
    5050                i = 3;
    51           case 3:
     51          case 19:
    5252          case 'A' ... 'Z':
    53           case 5 ... 6:
    54           case 2, 4:
     53          case 1 ... 6:
     54          case 20, 30:
    5555                j = 3;
    5656                f( 3 );
     
    7878                struct S { int i; };
    7979                S s;
    80           case 3:
     80          case 19:
    8181          case 'A' ... 'Z':
    82           case 5 ... 6:
    83           case 2, 4, 7:
     82          case 0 ... 6:
     83          case 20, 30, 40:
    8484                i = 3;
    8585                f( 3 );
  • src/tests/test.py

    r4d2434a r8a443f4  
    3333def listTests():
    3434        machineType = getMachineType()
    35 
    36         print(machineType)
    3735
    3836        # tests directly in the .expect folder will always be processed
Note: See TracChangeset for help on using the changeset viewer.