source: tests/errors/.expect/declaration.txt @ f5dbc8d

Last change on this file since f5dbc8d was db19e1d, checked in by Andrew Beach <ajbeach@…>, 3 months ago

Changed the interpritation of () to be no parameters instead of any parameters. This had a lot of little changes because of this and some nearby clean-up. This includes some changes, including changing some generated functions to be fixed-args instead of variable-args, stripping out the place holder void parameter earlier, but it still shows up earlier in some cases that examine the parser directly. Also had to update the function generation tools. Have only tested with one --arch. Hopefully this all works out.

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[bb7422a]1errors/declaration.cfa:16:1 error: duplicate static storage class(es) in declaration of x1: static const volatile short int
[4efe4d1]2
[bb7422a]3errors/declaration.cfa:17:1 error: conflicting extern & static storage classes in declaration of x2: extern const volatile short int
[7d05e7e]4
[bb7422a]5errors/declaration.cfa:18:1 error: conflicting extern & auto storage classes, conflicting extern & static storage classes, conflicting extern & static storage classes, duplicate extern storage class(es) in declaration of x3: extern const volatile short int
[7d05e7e]6
[bb7422a]7errors/declaration.cfa:19:1 error: duplicate static storage class(es) in declaration of x4: static const volatile instance of const volatile struct __anonymous0
[07ec1a2]8  with members
[e4bc986]9    i: int
[46aa60e]10  with body
[4efe4d1]11
12
[bb7422a]13errors/declaration.cfa:20:1 error: duplicate const qualifier(s), duplicate static storage class(es), duplicate volatile qualifier(s) in declaration of x5: static const volatile instance of const volatile struct __anonymous1
[07ec1a2]14  with members
[e4bc986]15    i: int
[46aa60e]16  with body
[4efe4d1]17
18
[bb7422a]19errors/declaration.cfa:22:1 error: duplicate static storage class(es) in declaration of x6: static const volatile Int
[c1c1112]20
[bb7422a]21errors/declaration.cfa:24:1 error: duplicate const qualifier(s) in declaration of f01: static inline function
[db19e1d]22  with parameters
23    void
[c1c1112]24  returning const volatile int
25
26
[bb7422a]27errors/declaration.cfa:25:1 error: duplicate volatile qualifier(s) in declaration of f02: static inline function
[db19e1d]28  with parameters
29    void
[c1c1112]30  returning const volatile int
31
32
[bb7422a]33errors/declaration.cfa:26:1 error: duplicate const qualifier(s) in declaration of f03: static inline function
[db19e1d]34  with parameters
35    void
[c1c1112]36  returning const volatile int
37
38
[bb7422a]39errors/declaration.cfa:27:1 error: duplicate volatile qualifier(s) in declaration of f04: static inline function
[db19e1d]40  with parameters
41    void
[c1c1112]42  returning const volatile int
43
44
[bb7422a]45errors/declaration.cfa:28:1 error: duplicate const qualifier(s) in declaration of f05: static inline function
[db19e1d]46  with parameters
47    void
[c1c1112]48  returning const volatile int
49
50
[bb7422a]51errors/declaration.cfa:29:1 error: duplicate volatile qualifier(s) in declaration of f06: static inline function
[db19e1d]52  with parameters
53    void
[c1c1112]54  returning const volatile int
55
56
[bb7422a]57errors/declaration.cfa:30:1 error: duplicate const qualifier(s) in declaration of f07: static inline function
[db19e1d]58  with parameters
59    void
[c1c1112]60  returning const volatile int
61
62
[bb7422a]63errors/declaration.cfa:31:1 error: duplicate const volatile qualifier(s) in declaration of f08: static inline function
[db19e1d]64  with parameters
65    void
[c1c1112]66  returning const volatile int
67
68
[bb7422a]69errors/declaration.cfa:33:1 error: duplicate const volatile qualifier(s) in declaration of f09: static inline function
[db19e1d]70  with parameters
71    void
[c1c1112]72  returning const volatile int
73
74
[bb7422a]75errors/declaration.cfa:34:1 error: duplicate const qualifier(s), duplicate _Atomic qualifier(s), duplicate _Atomic qualifier(s), duplicate const restrict volatile qualifier(s) in declaration of f09: static inline function
[db19e1d]76  with parameters
77    void
[7d05e7e]78  returning const restrict volatile _Atomic int
[c1c1112]79
[4efe4d1]80
Note: See TracBrowser for help on using the repository browser.