source: tests/.expect/alloc-ERROR.x86.txt @ d3d54b3

Last change on this file since d3d54b3 was d3d54b3, checked in by Michael Brooks <mlbrooks@…>, 2 months ago

Eliminate warnings due to sizeof returning type inconsistent with %zu. Fix #269.

Test

nowarn/printf-sizeof

: Activate direct test of the bug.

Tests

alloc-ERROR
extension
array-collections/dimexpr-match-c-ERRS

: Accommodate incidental changes in error-message text or generated code.

  • Property mode set to 100644
File size: 955 bytes
Line 
1alloc.cfa:382:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
2  Name: ?=?
3...to:
4  Name: ip
5  Applying untyped:
6    Name: realloc
7  ...to:
8    Name: stp
9    Applying untyped:
10      Name: ?*?
11    ...to:
12      Name: dim
13      Sizeof Expression on: type-of expression Applying untyped:
14          Name: *?
15        ...to:
16          Name: stp
17
18      ... with resolved type:
19        unsigned int
20
21
22
23alloc.cfa:383:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
24  Name: ?=?
25...to:
26  Name: ip
27  Applying untyped:
28    Name: memset
29  ...to:
30    Name: stp
31    Constant Expression (10: signed int)
32    ... with resolved type:
33      signed int
34
35
36alloc.cfa:384:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
37  Name: ?=?
38...to:
39  Name: ip
40  Applying untyped:
41    Name: memcpy
42  ...to:
43    Address of:
44      Name: st1
45    Address of:
46      Name: st
47
48
Note: See TracBrowser for help on using the repository browser.