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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pch/] [counter-2.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* Copyright (C) 2007 Free Software Foundation
2
   Contributed by Ollie Wild <aaw@google.com> */
3
 
4
/* { dg-options "-I. -Winvalid-pch" } */
5
 
6
#if __COUNTER__ != 0
7
#error __COUNTER__ != 0
8
#endif
9
 
10
#include "counter-2.h" /* { dg-warning "not used because `__COUNTER__' is invalid" } */
11
/* { dg-error "counter-2.h: No such file or directory" "no such file" { target *-*-* } 0 } */
12
/* { dg-error "one or more PCH files were found, but they were invalid" "invalid files" { target *-*-* } 10 } */
13
/* { dg-message "terminated" "" { target *-*-* } 0 } */
14
 
15
int main(void)
16
{
17
  return __COUNTER__;
18
}

powered by: WebSVN 2.1.0

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