Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20000314-3.c
blob51cbdf0512347dbfc2d9a080e45090842110ae4e
1 /*
2 20000314-3.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 static char arg0[] = "arg0";
8 static char arg1[] = "arg1";
10 static void attr_rtx (char *, char *);
11 static char *attr_string (char *);
12 static void attr_eq (char *, char *);
14 static void
15 attr_rtx (char *varg0, char *varg1)
17 ASSERT (varg0 == arg0);
18 ASSERT (varg1 == arg1);
19 return;
22 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Bug #2878
23 static void
24 attr_eq (char *name, char *value)
26 return attr_rtx (attr_string (name), attr_string (value));
29 static char *
30 attr_string (char *str)
32 return str;
34 #endif
36 void
37 testTortureExecute (void)
39 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15)
40 attr_eq (arg0, arg1);
41 return;
42 #endif