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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000112-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
#include <string.h>
2
 
3
static int
4
special_format (fmt)
5
     const char *fmt;
6
{
7
  return (strchr (fmt, '*') != 0
8
          || strchr (fmt, 'V') != 0
9
          || strchr (fmt, 'S') != 0
10
          || strchr (fmt, 'n') != 0);
11
}
12
 
13
main()
14
{
15
  if (special_format ("ee"))
16
    abort ();
17
  if (!special_format ("*e"))
18
    abort ();
19
  exit (0);
20
}
21
 

powered by: WebSVN 2.1.0

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