source: tests/errors/.expect/declaration.txt @ 8d96dee

Last change on this file since 8d96dee was bb7422a, checked in by Andrew Beach <ajbeach@…>, 19 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
Line 
1errors/declaration.cfa:16:1 error: duplicate static storage class(es) in declaration of x1: static const volatile short int
2
3errors/declaration.cfa:17:1 error: conflicting extern & static storage classes in declaration of x2: extern const volatile short int
4
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
6
7errors/declaration.cfa:19:1 error: duplicate static storage class(es) in declaration of x4: static const volatile instance of const volatile struct __anonymous0
8  with members
9    i: int
10   with body
11
12
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
14  with members
15    i: int
16   with body
17
18
19errors/declaration.cfa:22:1 error: duplicate static storage class(es) in declaration of x6: static const volatile Int
20
21errors/declaration.cfa:24:1 error: duplicate const qualifier(s) in declaration of f01: static inline function
22  with no parameters
23  returning const volatile int
24
25
26errors/declaration.cfa:25:1 error: duplicate volatile qualifier(s) in declaration of f02: static inline function
27  with no parameters
28  returning const volatile int
29
30
31errors/declaration.cfa:26:1 error: duplicate const qualifier(s) in declaration of f03: static inline function
32  with no parameters
33  returning const volatile int
34
35
36errors/declaration.cfa:27:1 error: duplicate volatile qualifier(s) in declaration of f04: static inline function
37  with no parameters
38  returning const volatile int
39
40
41errors/declaration.cfa:28:1 error: duplicate const qualifier(s) in declaration of f05: static inline function
42  with no parameters
43  returning const volatile int
44
45
46errors/declaration.cfa:29:1 error: duplicate volatile qualifier(s) in declaration of f06: static inline function
47  with no parameters
48  returning const volatile int
49
50
51errors/declaration.cfa:30:1 error: duplicate const qualifier(s) in declaration of f07: static inline function
52  with no parameters
53  returning const volatile int
54
55
56errors/declaration.cfa:31:1 error: duplicate const volatile qualifier(s) in declaration of f08: static inline function
57  with no parameters
58  returning const volatile int
59
60
61errors/declaration.cfa:33:1 error: duplicate const volatile qualifier(s) in declaration of f09: static inline function
62  with no parameters
63  returning const volatile int
64
65
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
67  with no parameters
68  returning const restrict volatile _Atomic int
69
70
Note: See TracBrowser for help on using the repository browser.