Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 %s -Wunused-macros -Dfoo -Dfoo -verify
      2 
      3 #include "warn-macro-unused.h"
      4 
      5 #define unused // expected-warning {{macro is not used}}
      6 #define unused
      7 unused
      8 
      9 // rdar://9745065
     10 #undef unused_from_header // no warning
     11