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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [empty-include.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/*
2
 * Copyright 2004 Free Software Foundation, Inc.
3
 * Contributed and written by Nathanael Nerode.
4
 *
5
 * GCC 3.4 would attempt to open stdin as the included file
6
 * (PR 17610), causing a sort of hang.
7
 *
8
 * We should get an error.
9
 */
10
 
11
/* {dg-do preprocess} */
12
#include "" /* { dg-error "empty" "error on empty filename in include" } */
13
int x; /* Otherwise we have an empty file and get more errors. */

powered by: WebSVN 2.1.0

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