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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [guality/] [guality.c] - Rev 753

Go to most recent revision | Compare with Previous | Blame | View Log

/* { dg-do run { xfail *-*-* } } */
/* { dg-options "-g" } */
 
#include "guality.h"
 
/* Some silly sanity checking.  */
 
int
main (int argc, char *argv[])
{
  int i = argc+1;
  int j = argc-2;
  int k = 5;
 
  GUALCHKXPR (argc);
  GUALCHKXPR (i);
  GUALCHKXPR (j);
  GUALCHKXPR (k);
  GUALCHKXPR (&i);
  GUALCHKFLA (argc);
  GUALCHKFLA (i);
  GUALCHKFLA (j);
  GUALCHKXPR (i);
  GUALCHKXPR (j);
  GUALCHKXPRVAL ("k", 5, 1);
  GUALCHKXPRVAL ("0x40", 64, 0);
  /* GUALCHKXPRVAL ("0", 0, 0); *//* XFAIL */
}
 

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.