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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.target/] [spu/] [Wmain.c] - Diff between revs 327 and 338

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

Rev 327 Rev 338
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-Wmain -mstdmain" } */
/* { dg-options "-Wmain -mstdmain" } */
 
 
int main (void *wrong)/* { dg-warning "first argument of 'main' should be 'int'" "" } */
int main (void *wrong)/* { dg-warning "first argument of 'main' should be 'int'" "" } */
{
{
  /* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 4 } */
  /* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 4 } */
}
}
 
 

powered by: WebSVN 2.1.0

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