summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/include-directive2.c
blob: 123998246bff5d697b2495349bb6d6c9d41f92a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: clang-cc -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}}
OpenPOWER on IntegriCloud