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