Changeset d60a4c2 for tests/tuple


Ignore:
Timestamp:
Jan 11, 2025, 5:48:46 PM (13 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
f886608
Parents:
7d65715f (diff), 32a119e9 (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

Location:
tests/tuple
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/tuple/tupleAssign.cfa

    r7d65715f rd60a4c2  
    4848                        int z;
    4949                } x;
    50                 X ?=?(X & x, double d) { return x; }
     50                X ?=?(X & x, double) { return x; }
    5151                [int, double, int] t;
    5252
  • tests/tuple/tuplePolymorphism.cfa

    r7d65715f rd60a4c2  
    6666forall(T)
    6767[T, T] foo([T, T] y) {
     68        (void) y;
    6869        [T, T] x;
    6970        return x;
  • tests/tuple/tupleVariadic.cfa

    r7d65715f rd60a4c2  
    9898}
    9999
    100 forall(T... | { void foo(T); }) void bar(T x) {}
     100forall(T... | { void foo(T); }) void bar( T ) {}
    101101void foo(int) {}
    102102
     
    126126        {
    127127                // T = [const int] -- this ensures that void(*)(int) satisfies void(*)(const int)
    128                 const int x;
     128                const int x = 42;
    129129                bar(x);
    130130        }
Note: See TracChangeset for help on using the changeset viewer.