Ignore:
Timestamp:
Jan 29, 2025, 11:41:32 AM (12 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
161b98e
Parents:
49510db
Message:

Removed the warnings from more tests. I think '(void)var;' might be working better than 'attribute((unused)) var;'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/identParamDeclarator.cfa

    r49510db ra22e8b4  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // identParamDeclarator.cfa -- 
    8 // 
     6//
     7// identParamDeclarator.cfa --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Wed Aug 17 08:37:56 2016
     
    1212// Last Modified On : Fri Sep 25 14:31:08 2020
    1313// Update Count     : 4
    14 //
     14//
     15
     16// We have some useless const qualifiers for parsing testing.
     17#pragma GCC diagnostic ignored "-Wignored-qualifiers"
    1518
    1619int fred (
     
    157160    );
    158161
    159 int main( int argc, char const *argv[] ) {                              // dummy main
     162int main() {
    160163        printf( "done\n" );                                                                     // non-empty .expect file
    161164}
Note: See TracChangeset for help on using the changeset viewer.