2010-11-16 18:26:08 +08:00
|
|
|
// RUN: %clang_cc1 -ffreestanding -Eonly -verify %s
|
2011-07-11 22:53:27 +08:00
|
|
|
# define HEADER <stdarg.h>
|
2007-07-23 12:56:47 +08:00
|
|
|
|
|
|
|
# include HEADER
|
2009-04-18 07:56:52 +08:00
|
|
|
|
|
|
|
#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}}
|