Changeset 2a32118


Ignore:
Timestamp:
Jan 2, 2025, 7:23:11 PM (3 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
2e63915, 6b95feb
Parents:
656c8ac
Message:

Fix a warning missed in 2853d6fb0.

Location:
tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/.expect/array-ERR1.txt

    r656c8ac r2a32118  
    55array.cfa:53:26: error: '[*]' not allowed in other than function prototype scope
    66array.cfa: At top level:
    7 array.cfa:75:1: error: '[*]' not allowed in other than function prototype scope
     7array.cfa:74:1: error: '[*]' not allowed in other than function prototype scope
  • TabularUnified tests/.expect/array-ERR2.txt

    r656c8ac r2a32118  
    1 array.cfa:139:33: error: syntax error, unexpected STATIC before token "static"
     1array.cfa:138:33: error: syntax error, unexpected STATIC before token "static"
  • TabularUnified tests/.expect/array-ERR3.txt

    r656c8ac r2a32118  
    1 array.cfa:140:33: error: syntax error, unexpected ']' before token "]"
     1array.cfa:139:33: error: syntax error, unexpected ']' before token "]"
  • TabularUnified tests/array.cfa

    r656c8ac r2a32118  
    5959    void fred2(int n,
    6060        int a1[],
    61 E1(     int a2[*],                                 )
     61E1(     int a2[*],  )
    6262        int a4[3],
    6363        int T[3]        __attribute__((unused)),
     
    6767        // This parameter should be in scope and usable within the body.
    6868
    69         // Skip a2 because it's declared only in an error case.
    70 
    7169        (void) a1;
     70E1(     (void) a2;  )
    7271        (void) a4;
    7372//      (void) T;
Note: See TracChangeset for help on using the changeset viewer.