Changeset 53692b3 for tests/warnings


Ignore:
Timestamp:
Jun 5, 2021, 3:21:19 PM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr
Children:
bae0d35, dac16a0
Parents:
4ed7946e
Message:

second attempt to fix compile-only pragma message that gcc-10/11 quote

Location:
tests/warnings
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/warnings/.expect/self-assignment.nast.txt

    r4ed7946e r53692b3  
     1warnings/self-assignment.cfa:34:25: warning: Compiled
    12warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
    23  Variable Expression: j: signed int
     
    4647... with resolved type:
    4748  reference to signed int
    48 warnings/self-assignment.cfa: In function '_X4mainFi___1':
    49 warnings/self-assignment.cfa:36:9: note: #pragma message: Compiled
  • tests/warnings/self-assignment.cfa

    r4ed7946e r53692b3  
    1010// Created On       : Thu Mar 1 13:53:57 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Sep 27 09:24:34 2020
    13 // Update Count     : 6
     12// Last Modified On : Sat Jun  5 10:08:56 2021
     13// Update Count     : 7
    1414//
    1515
     
    3232        t.s.i = t.s.i;
    3333
    34         #pragma message( "Compiled" )                   // force non-empty .expect file
     34    #pragma GCC warning "Compiled"                      // force non-empty .expect file, NO TABS!!!
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.