summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/include-directive2.c
blob: b1a9940b441203a4a27800c7dc4cfbe80476848b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: %clang_cc1 -ffreestanding -Eonly -verify %s 
#  define HEADER <stdarg.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}}