Changeset 0bf03ba2 for tests


Ignore:
Timestamp:
Dec 20, 2024, 9:38:52 PM (4 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
0cd168f
Parents:
3df3a8f
Message:

Remove warnings due to unused parameters in generated code for zero-length ttype instantiations.

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r3df3a8f r0bf03ba2  
    5252WFLGAS_OPT_LAX = \
    5353        alloc \
    54         alloc2 \
    5554        array \
    5655        array-collections/array-raii-c \
     
    9897        concurrency/examples/boundedBufferEXT \
    9998        concurrency/examples/boundedBufferINT \
    100         concurrency/futures/abandon \
    10199        concurrency/futures/multi \
    102100        concurrency/futures/select_future \
     
    179177        function-operator \
    180178        gmp \
    181         heap \
    182179        identFuncDeclarator \
    183180        identParamDeclarator \
  • tests/nowarn/unused.cfa

    r3df3a8f r0bf03ba2  
    1717enum () foo_t { foo };
    1818
     19// on empty tuple,  __cleanup_dtor takes zero actions on its param and
     20// _thunk's purpose is to ignore its param
     21forall( Args... | { void foo( Args ); } )
     22void wrap( Args ) {}
     23void foo() {}
     24void callWrap() {
     25    wrap();
     26}
     27
    1928
    2029int main() {
Note: See TracChangeset for help on using the changeset viewer.