You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The desugaring of declarations does not always give the right type to variable according to the declaration.
Some examples of cdecl:
$ cdecl
Type `help' or `?' for help
cdecl> explain int*
syntax error
cdecl> explain int* a;
declare a as pointer to int
cdecl> explain int *a[];
declare a as array of pointer to int
cdecl> explain int (*a)[];
declare a as pointer to array of int
cdecl> explain int (*a)(int);
declare a as pointer to function (int) returning int
cdecl> explain float (*a)(int);
declare a as pointer to function (int) returning float
cdecl> explain float (*a)(int *);
declare a as pointer to function (pointer to int) returning float
The text was updated successfully, but these errors were encountered:
The desugaring of declarations does not always give the right type to variable according to the declaration.
Some examples of
cdecl
:The text was updated successfully, but these errors were encountered: