OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000314-3.c] - Rev 297

Compare with Previous | Blame | View Log

extern void abort (void);
 
static char arg0[] = "arg0";
static char arg1[] = "arg1";
 
static void attr_rtx		(char *, char *);
static char *attr_string        (char *);
static void attr_eq		(char *, char *);
 
static void 
attr_rtx (char *varg0, char *varg1)
{
  if (varg0 != arg0)
    abort ();
 
  if (varg1 != arg1)
    abort ();
 
  return;
}
 
static void 
attr_eq (name, value)
     char *name, *value;
{
  return attr_rtx (attr_string (name),
		   attr_string (value));
}
 
static char *
attr_string (str)
     char *str;
{
  return str;
}
 
int main()
{
  attr_eq (arg0, arg1);
  exit (0);
}
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.