Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 -ffreestanding -Eonly -verify %s
      2 #  define HEADER <stdarg.h>
      3 
      4 #  include HEADER
      5 
      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}}
     18