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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [intmax_t-1.c] - Blame information for rev 307

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || vxworks_kernel } } 0 } */
4
 
5
/* Compile with -Wall to get a warning if built-in and system intmax_t don't
6
   match.  */
7
 
8
#include <inttypes.h>
9
 
10
__INTMAX_TYPE__ __im_t__;
11
__UINTMAX_TYPE__ __uim_t__;
12
intmax_t *im_t_p;
13
uintmax_t *uim_t_p;
14
 
15
void
16
imt (void)
17
{
18
  im_t_p = &__im_t__;
19
}
20
 
21
void
22
uimt (void)
23
{
24
  uim_t_p = &__uim_t__;
25
}

powered by: WebSVN 2.1.0

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