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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000314-3.c] - Rev 711

Go to most recent revision | 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);
}
 
 

Go to most recent revision | 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.