summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/include-directive2.c
blob: b205325f601ed4c45cf2aea431e5bd129d68b7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: %clang_cc1 -Eonly -verify %s 
#  define HEADER <float.h>

#  include HEADER

#include <limits.h> NON_EMPTY // expected-warning {{extra tokens at end of #include directive}}

// PR3916: these are ok.
#define EMPTY
#include <limits.h> EMPTY
#include HEADER  EMPTY

// PR3916
#define FN limits.h>
#include <FN

#include <>    // expected-error {{empty filename}}