source: tests/.expect/var-assert.txt

Last change on this file was 82a5ea2, checked in by Andrew Beach <ajbeach@…>, 6 days ago

Added checks for (and a test to check the checks) assertions we will not be able to adapt. Using an adapted version of Mike's error message.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1var-assert.cfa:3:1 error: Cannot assert a function that both has by-value polymorphic parameters or return values, and also takes variadic (...) parameters. Consider using a va_list parameter instead.
2bad_format: function
3... with parameters
4  format: pointer to const char
5  and a variable number of other arguments
6... returning
7  _retval_bad_format: instance of type T (not function type)
8  ... with attributes:
9    Attribute with name: unused
10
11
12var-assert.cfa:5:1 error: Cannot assert a function that both has by-value polymorphic parameters or return values, and also takes variadic (...) parameters. Consider using a va_list parameter instead.
13val_format: function
14... with parameters
15  instance of type T (not function type)
16  format: pointer to const char
17  and a variable number of other arguments
18... returning
19  _retval_val_format: void
20  ... with attributes:
21    Attribute with name: unused
22
23
24var-assert.cfa:9:1 error: Cannot assert a function that both has by-value polymorphic parameters or return values, and also takes variadic (...) parameters. Consider using a va_list parameter instead.
25vaTuple: function
26  accepting unspecified arguments
27... returning
28  _retval_vaTuple: instance of type Us (not function type)
29  ... with attributes:
30    Attribute with name: unused
31
32
Note: See TracBrowser for help on using the repository browser.