Changeset 2a32118
- Timestamp:
- Jan 2, 2025, 7:23:11 PM (3 months ago)
- Branches:
- master
- Children:
- 2e63915, 6b95feb
- Parents:
- 656c8ac
- Location:
- tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/.expect/array-ERR1.txt ¶
r656c8ac r2a32118 5 5 array.cfa:53:26: error: '[*]' not allowed in other than function prototype scope 6 6 array.cfa: At top level: 7 array.cfa:7 5:1: error: '[*]' not allowed in other than function prototype scope7 array.cfa:74:1: error: '[*]' not allowed in other than function prototype scope -
TabularUnified tests/.expect/array-ERR2.txt ¶
r656c8ac r2a32118 1 array.cfa:13 9:33: error: syntax error, unexpected STATIC before token "static"1 array.cfa:138:33: error: syntax error, unexpected STATIC before token "static" -
TabularUnified tests/.expect/array-ERR3.txt ¶
r656c8ac r2a32118 1 array.cfa:1 40:33: error: syntax error, unexpected ']' before token "]"1 array.cfa:139:33: error: syntax error, unexpected ']' before token "]" -
TabularUnified tests/array.cfa ¶
r656c8ac r2a32118 59 59 void fred2(int n, 60 60 int a1[], 61 E1( int a2[*], 61 E1( int a2[*], ) 62 62 int a4[3], 63 63 int T[3] __attribute__((unused)), … … 67 67 // This parameter should be in scope and usable within the body. 68 68 69 // Skip a2 because it's declared only in an error case.70 71 69 (void) a1; 70 E1( (void) a2; ) 72 71 (void) a4; 73 72 // (void) T;
Note: See TracChangeset
for help on using the changeset viewer.