Changeset ca26509


Ignore:
Timestamp:
Jun 14, 2016, 3:26:24 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, 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:
f2d51eb
Parents:
ee51534
Message:

relocate and delete example programs under Test directory to test/examples directories

Location:
src
Files:
355 deleted
1 edited
11 moved

Legend:

Unmodified
Added
Removed
  • src/examples/Attributes.c

    ree51534 rca26509  
    5656    otype @widest(otype t);
    5757    @otype(x) *y;                                                                               // gcc: otypeof(x) *y;
    58     const @widest(double) *w;                                                   // gcc: const otypeof(x) *w;
    59     * @otype(3 + 4) z;                                                                  // cfa declaration syntax
     58//    const @widest(double) *w;                                                 // gcc: const otypeof(x) *w;
     59//    * @otype(3 + 4) z;                                                                        // cfa declaration syntax
    6060    y = @max;           
    6161    z = @max(x) + @size(int);
  • src/examples/Initialization.c

    ree51534 rca26509  
    1212} a = { .w : [2] };
    1313
    14 struct { int a[3], b; } w [] = { [0].a : {1}, [0].b : 1, [1].a[0] : 2 };
     14struct { int a[3], b; } w [] = { [0].a : {1}, [0].b : 3, [1].a[0] : 2 };
    1515
    1616struct {
  • src/examples/Misc.c

    ree51534 rca26509  
     1// interesting corner cases
     2
    13int a;
    24int b;
  • src/examples/abstype.c

    ree51534 rca26509  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr  6 22:16:08 2016
    13 // Update Count     : 8
     12// Last Modified On : Tue Jun 14 14:27:48 2016
     13// Update Count     : 9
    1414//
    1515
     
    2121}
    2222
    23 forall( otype T ) lvalue T *?( T* );
     23forall( otype T ) lvalue T *?( T * );
    2424int ?++( int * );
    2525int ?=?( int *, int );
    26 forall( dtype DT ) DT * ?=?( DT **, DT* );
     26forall( dtype DT ) DT * ?=?( DT **, DT * );
    2727
    2828otype U = int *;
Note: See TracChangeset for help on using the changeset viewer.