Changeset a5e2786f for tests


Ignore:
Timestamp:
Dec 22, 2024, 4:48:31 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
43299af
Parents:
5a02308 (diff), 28c2c9d5 (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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r5a02308 ra5e2786f  
    5252WFLGAS_OPT_LAX = \
    5353        alloc \
    54         alloc2 \
    5554        array \
    56         array-collections/array-raii-c \
    57         array-collections/array-raii-cfa \
    5855        array-collections/boxed \
    5956                array-collections/boxed% \
     
    9895        concurrency/examples/boundedBufferEXT \
    9996        concurrency/examples/boundedBufferINT \
    100         concurrency/futures/abandon \
    10197        concurrency/futures/multi \
    10298        concurrency/futures/select_future \
     
    179175        function-operator \
    180176        gmp \
    181         heap \
    182177        identFuncDeclarator \
    183178        identParamDeclarator \
  • tests/array-collections/array-raii.hfa

    r5a02308 ra5e2786f  
    5959        }
    6060    }
     61  #pragma GCC diagnostic push
     62  #pragma GCC diagnostic ignored "-Wuninitialized"
     63  #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
    6164    void case1() {
    6265        ADECL1(x, float, 5)
     
    6871        checkzero(x[0].f, x[1].f, x[2].f, x[3].f, x[4].f);
    6972    }
     73  #pragma GCC diagnostic pop
    7074
    7175    writeJunkOnStack(5);
  • tests/nowarn/unused.cfa

    r5a02308 ra5e2786f  
    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.