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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [c99-impl-int-1.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* Test for implicit int: in C90 only.  */
2
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3
/* { dg-do compile } */
4
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
5
 
6
extern foo; /* { dg-bogus "warning" "warning in place of error" } */
7
/* { dg-error "type defaults" "C99 implicit int error" { target *-*-* } 6 } */
8
bar (void) { } /* { dg-bogus "warning" "warning in place of error" } */
9
/* { dg-error "return type defaults" "C99 implicit int error" { target *-*-* } 8 } */

powered by: WebSVN 2.1.0

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