Changeset f7e4db27 for src/tests/.expect


Ignore:
Timestamp:
Jul 20, 2018, 3:51:48 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
f2f512ba
Parents:
dea36ee
Message:

improve error messages for useless declarations

Location:
src/tests/.expect
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/attributes.x64.txt

    rdea36ee rf7e4db27  
    367367signed int __apd7__Fi_Fi_i_Fi_i___1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object23)(__attribute__ ((unused)) signed int __anonymous_object24), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object25)(__attribute__ ((unused)) signed int __anonymous_object26));
    368368struct Vad {
    369     __attribute__ ((unused)) signed int __anonymous_object27;
     369    __attribute__ ((unused)) signed int __anonymous_object27:4;
    370370    __attribute__ ((unused)) signed int __anonymous_object28:4;
    371     __attribute__ ((unused)) signed int __anonymous_object29:4;
    372     __attribute__ ((unused,unused)) signed int __anonymous_object30:6;
     371    __attribute__ ((unused,unused)) signed int __anonymous_object29:6;
    373372};
    374373static inline void ___constructor__F_4sVad_autogen___1(struct Vad *___dst__4sVad_1);
     
    376375static inline void ___destructor__F_4sVad_autogen___1(struct Vad *___dst__4sVad_1);
    377376static inline struct Vad ___operator_assign__F4sVad_4sVad4sVad_autogen___1(struct Vad *___dst__4sVad_1, struct Vad ___src__4sVad_1);
    378 static inline void ___constructor__F_4sVadi_autogen___1(struct Vad *___dst__4sVad_1, __attribute__ ((unused)) signed int __anonymous_object31);
    379377static inline void ___constructor__F_4sVad_autogen___1(struct Vad *___dst__4sVad_1){
    380     ((void)((*___dst__4sVad_1).__anonymous_object27) /* ?{} */);
    381378}
    382379static inline void ___constructor__F_4sVad4sVad_autogen___1(struct Vad *___dst__4sVad_1, struct Vad ___src__4sVad_1){
    383     ((void)((*___dst__4sVad_1).__anonymous_object27=___src__4sVad_1.__anonymous_object27) /* ?{} */);
    384380}
    385381static inline void ___destructor__F_4sVad_autogen___1(struct Vad *___dst__4sVad_1){
    386     ((void)((*___dst__4sVad_1).__anonymous_object27) /* ^?{} */);
    387382}
    388383static inline struct Vad ___operator_assign__F4sVad_4sVad4sVad_autogen___1(struct Vad *___dst__4sVad_1, struct Vad ___src__4sVad_1){
    389384    struct Vad ___ret__4sVad_1;
    390     ((void)((*___dst__4sVad_1).__anonymous_object27=___src__4sVad_1.__anonymous_object27));
    391385    ((void)___constructor__F_4sVad4sVad_autogen___1((&___ret__4sVad_1), (*___dst__4sVad_1)));
    392386    return ___ret__4sVad_1;
    393387}
    394 static inline void ___constructor__F_4sVadi_autogen___1(struct Vad *___dst__4sVad_1, __attribute__ ((unused)) signed int __anonymous_object32){
    395     ((void)((*___dst__4sVad_1).__anonymous_object27=__anonymous_object32) /* ?{} */);
    396 }
  • src/tests/.expect/declarationErrors.txt

    rdea36ee rf7e4db27  
    1717
    1818
    19 declarationErrors.c:22:1 error: duplicate static in declaration of x6: static const volatile instance of type Int
     19declarationErrors.c:22:1 error: duplicate static in declaration of x6: static const volatile Int
    2020
    2121declarationErrors.c:24:1 error: duplicate const in declaration of f01: static inline function
Note: See TracChangeset for help on using the changeset viewer.