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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [wint_t-1.c] - Blame information for rev 701

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile { target wchar } } */
2
/* { dg-options "-Wall" } */
3
 
4
/* Compile with -Wall to get a warning if built-in and system wint_t don't
5
   match.  */
6
 
7
#define _STDDEF_H
8
#include <wchar.h>
9
 
10
__WINT_TYPE__ __wi_t__;
11
wint_t *wi_t_p;
12
 
13
void
14
wit (void)
15
{
16
  wi_t_p = &__wi_t__;
17
}

powered by: WebSVN 2.1.0

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