#include <stdlib.h>
-#ifdef PROTOTYPES
int main (int argc, char **argv, char **envp)
-#else
-main (argc, argv, envp)
- int argc;
- char **argv;
- char **envp;
-#endif
{
extern void dummy();
dummy();
double v_double_member;
} v_struct2;
+struct
+{
+ long v_long_member;
+ struct t_struct t;
+ char v_char_member;
+} v_struct3;
+
/**** unions *******/
union t_union {
{
/* setvar.exp wants to allocate memory for constants. So make sure malloc
gets linked into the program. */
- malloc (1);
+ void *p = malloc (1);
/* Some linkers (e.g. on AIX) remove unreferenced variables,
so make sure to reference them. */
sef.field = s1;
uef.field = u1;
#endif
+ free (p);
}