1/* Copyright (C) 2002 Free Software Foundation, Inc.  */
2
3/* { dg-do preprocess } */
4
5/* Test case for PR preprocessor/6386 by Andreas Schwab.  We'd back up
6   over the CPP_EOF token (indicating not a funlike macro invocation)
7   in the header file, which would then be passed through as a real
8   EOF, leading to an early exit (and therefore bogus complaint about
9   unterminated #if).  */
10
11#define S(x)
12#if 1
13#include "endif.h"
14#endif
15