source: src/tests/.expect/declarationErrors.txt @ c40e7c5

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since c40e7c5 was e4bc986, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Add ParseNode? print code and update declarationErrors test

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[193bba0]1declarationErrors.c:16:1 error: duplicate static in declaration of x1: static const volatile short int
[4efe4d1]2
[193bba0]3declarationErrors.c:17:1 error: conflicting extern & static in declaration of x2: extern const volatile short int
[7d05e7e]4
[193bba0]5declarationErrors.c:18:1 error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int
[7d05e7e]6
[193bba0]7declarationErrors.c:19:1 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0
[4efe4d1]8  with members
[e4bc986]9    i: int
[5d125e4]10   with body
[4efe4d1]11
12
[193bba0]13declarationErrors.c:20:1 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1
[4efe4d1]14  with members
[e4bc986]15    i: int
[5d125e4]16   with body
[4efe4d1]17
18
[193bba0]19declarationErrors.c:22:1 error: duplicate static in declaration of x6: static const volatile instance of type Int
[c1c1112]20
[193bba0]21declarationErrors.c:24:1 error: duplicate const in declaration of f01: static inline function
[c1c1112]22  with no parameters
23  returning const volatile int
24
25
[193bba0]26declarationErrors.c:25:1 error: duplicate volatile in declaration of f02: static inline function
[c1c1112]27  with no parameters
28  returning const volatile int
29
30
[193bba0]31declarationErrors.c:26:1 error: duplicate const in declaration of f03: static inline function
[c1c1112]32  with no parameters
33  returning const volatile int
34
35
[193bba0]36declarationErrors.c:27:1 error: duplicate volatile in declaration of f04: static inline function
[c1c1112]37  with no parameters
38  returning const volatile int
39
40
[193bba0]41declarationErrors.c:28:1 error: duplicate const in declaration of f05: static inline function
[c1c1112]42  with no parameters
43  returning const volatile int
44
45
[193bba0]46declarationErrors.c:29:1 error: duplicate volatile in declaration of f06: static inline function
[c1c1112]47  with no parameters
48  returning const volatile int
49
50
[193bba0]51declarationErrors.c:30:1 error: duplicate const in declaration of f07: static inline function
[c1c1112]52  with no parameters
53  returning const volatile int
54
55
[193bba0]56declarationErrors.c:31:1 error: duplicate const, duplicate volatile in declaration of f08: static inline function
[c1c1112]57  with no parameters
58  returning const volatile int
59
60
[193bba0]61declarationErrors.c:33:1 error: duplicate const, duplicate volatile in declaration of f09: static inline function
[c1c1112]62  with no parameters
63  returning const volatile int
64
65
[193bba0]66declarationErrors.c:34:1 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function
[c1c1112]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.