source: tests/errors/.expect/declaration.txt @ 251ce80

ast-experimental
Last change on this file since 251ce80 was bb7422a, checked in by Andrew Beach <ajbeach@…>, 15 months ago

Translated parser to the new ast. This incuded a small fix in the resolver so larger expressions can be used in with statements and some updated tests. errors/declaration just is a formatting update. attributes now actually preserves more attributes (unknown if all versions work).

  • Property mode set to 100644
File size: 2.8 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
[07ec1a2]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
[07ec1a2]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
[07ec1a2]22  with no parameters
[c1c1112]23  returning const volatile int
24
25
[bb7422a]26errors/declaration.cfa:25:1 error: duplicate volatile qualifier(s) in declaration of f02: static inline function
[07ec1a2]27  with no parameters
[c1c1112]28  returning const volatile int
29
30
[bb7422a]31errors/declaration.cfa:26:1 error: duplicate const qualifier(s) in declaration of f03: static inline function
[07ec1a2]32  with no parameters
[c1c1112]33  returning const volatile int
34
35
[bb7422a]36errors/declaration.cfa:27:1 error: duplicate volatile qualifier(s) in declaration of f04: static inline function
[07ec1a2]37  with no parameters
[c1c1112]38  returning const volatile int
39
40
[bb7422a]41errors/declaration.cfa:28:1 error: duplicate const qualifier(s) in declaration of f05: static inline function
[07ec1a2]42  with no parameters
[c1c1112]43  returning const volatile int
44
45
[bb7422a]46errors/declaration.cfa:29:1 error: duplicate volatile qualifier(s) in declaration of f06: static inline function
[07ec1a2]47  with no parameters
[c1c1112]48  returning const volatile int
49
50
[bb7422a]51errors/declaration.cfa:30:1 error: duplicate const qualifier(s) in declaration of f07: static inline function
[07ec1a2]52  with no parameters
[c1c1112]53  returning const volatile int
54
55
[bb7422a]56errors/declaration.cfa:31:1 error: duplicate const volatile qualifier(s) in declaration of f08: static inline function
[07ec1a2]57  with no parameters
[c1c1112]58  returning const volatile int
59
60
[bb7422a]61errors/declaration.cfa:33:1 error: duplicate const volatile qualifier(s) in declaration of f09: static inline function
[07ec1a2]62  with no parameters
[c1c1112]63  returning const volatile int
64
65
[bb7422a]66errors/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
[07ec1a2]67  with no parameters
[7d05e7e]68  returning const restrict volatile _Atomic int
[c1c1112]69
[4efe4d1]70
Note: See TracBrowser for help on using the repository browser.