Changeset d60a4c2 for tests/nowarn


Ignore:
Timestamp:
Jan 11, 2025, 5:48:46 PM (14 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master, stuck-waitfor-destruct
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/nowarn
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • tests/nowarn/unused.cfa

    r7d65715f rd60a4c2  
    1212struct my_array {
    1313    float strides[N];
     14};
     15
     16// layoutof curious_size_dep doesn't need sizeof T
     17forall(T *)
     18struct curious_size_dep {
     19    int x;
    1420};
    1521
  • tests/nowarn/zero-thunk.cfa

    r7d65715f rd60a4c2  
    66forall( T )
    77T g( zero_t ) {
    8     printf( "%ld\n", sizeof(T) );
     8    printf( "%zd\n", sizeof(T) );
    99    return (T){};
    1010}
Note: See TracChangeset for help on using the changeset viewer.