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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [wchar_t-1.c] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-Wall" } */
/* { dg-options "-Wall" } */
 
 
/* Compile with -Wall to get a warning if built-in and system wchar_t don't
/* Compile with -Wall to get a warning if built-in and system wchar_t don't
   match.  */
   match.  */
 
 
#define _STDDEF_H
#define _STDDEF_H
#include <wchar.h>
#include <wchar.h>
 
 
__WCHAR_TYPE__ __wc_t__;
__WCHAR_TYPE__ __wc_t__;
wchar_t *wc_t_p;
wchar_t *wc_t_p;
 
 
void
void
wct (void)
wct (void)
{
{
  wc_t_p = &__wc_t__;
  wc_t_p = &__wc_t__;
}
}
 
 

powered by: WebSVN 2.1.0

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