Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / cpp / empty-include.c
blob6b5a47cbba7ae9c979d2389efc8e03a3f38180c5
1 /*
2 * Copyright 2004 Free Software Foundation, Inc.
3 * Contributed and written by Nathanael Nerode.
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 */
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. */