Changeset d84f2ae for tests/nowarn


Ignore:
Timestamp:
Jan 8, 2025, 1:00:13 PM (12 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
658f3179
Parents:
190a833
Message:

Fix transpiler-induced unused parameter on layoutof.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/nowarn/unused.cfa

    r190a833 rd84f2ae  
    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
Note: See TracChangeset for help on using the changeset viewer.