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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [include2.c] - Rev 867

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

/* Copyright (C) 2000 Free Software Foundation, Inc.  */
 
/* { dg-do preprocess } */
 
/* Tests that #include does not allow the terminating '>' or '"' to be
   escaped, as per the standard.  */
 
/* Source: Neil Booth, 4 Nov 2000.  */
 
#include <silly\>>  /* { dg-warning "extra tokens" "" } */
#include "silly\""  /* { dg-warning "extra tokens" "" } */
 
/* These error is No such file or directory, just once.  However, this
   message is locale-dependent, so don't test for it.  */
/* { dg-error "silly" "" { target *-*-* } 10 } */
/* { dg-error "missing" "" { target *-*-* } 11 } */
 

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

powered by: WebSVN 2.1.0

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