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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libmudflap/] [testsuite/] [libmudflap.c/] [pass47-frag.c] - Rev 738

Compare with Previous | Blame | View Log

#include <stdlib.h>
#include <ctype.h>
 
int main ()
{
  char* buf = "hello"; 
  return ! ((toupper (buf[0]) == 'H' && toupper ('z') == 'Z' &&
             tolower (buf[4]) == 'o' && tolower ('X') == 'x' &&
             isdigit (buf[3])) == 0 && isalnum ('4'));
}
 
/* { dg-warning "cannot track unknown size extern .__ctype." "Solaris __ctype declared without size" { target *-*-solaris2.* } 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.