blob: b205325f601ed4c45cf2aea431e5bd129d68b7d8 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -Eonly -verify %s
Chris Lattnerc8f2d9a2009-02-04 19:47:38 +00002# define HEADER <float.h>
Chris Lattner706ab502007-07-23 04:56:47 +00003
4# include HEADER
Chris Lattner9cb51ce2009-04-17 23:56:52 +00005
6#include <limits.h> NON_EMPTY // expected-warning {{extra tokens at end of #include directive}}
7
8// PR3916: these are ok.
9#define EMPTY
10#include <limits.h> EMPTY
11#include HEADER EMPTY
12
13// PR3916
14#define FN limits.h>
15#include <FN
16
17#include <> // expected-error {{empty filename}}