OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [guality/] [guality.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run { xfail *-*-* } } */
2
/* { dg-options "-g" } */
3
 
4
#include "guality.h"
5
 
6
/* Some silly sanity checking.  */
7
 
8
int
9
main (int argc, char *argv[])
10
{
11
  int i = argc+1;
12
  int j = argc-2;
13
  int k = 5;
14
 
15
  GUALCHKXPR (argc);
16
  GUALCHKXPR (i);
17
  GUALCHKXPR (j);
18
  GUALCHKXPR (k);
19
  GUALCHKXPR (&i);
20
  GUALCHKFLA (argc);
21
  GUALCHKFLA (i);
22
  GUALCHKFLA (j);
23
  GUALCHKXPR (i);
24
  GUALCHKXPR (j);
25
  GUALCHKXPRVAL ("k", 5, 1);
26
  GUALCHKXPRVAL ("0x40", 64, 0);
27
  /* GUALCHKXPRVAL ("0", 0, 0); *//* XFAIL */
28
}

powered by: WebSVN 2.1.0

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