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

Subversion Repositories openrisc

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

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* Test diagnostics for sizeof on void and function types.  Test with
/* Test diagnostics for sizeof on void and function types.  Test with
   no special options.  */
   no special options.  */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-options "" } */
 
 
extern const void v;
extern const void v;
void f(void);
void f(void);
 
 
void
void
g (void)
g (void)
{
{
  sizeof (v);
  sizeof (v);
  sizeof (void);
  sizeof (void);
  sizeof (f);
  sizeof (f);
  sizeof (void (void));
  sizeof (void (void));
}
}
 
 

powered by: WebSVN 2.1.0

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