rewrite-includes-invalid-hasinclude.c 364 B

1234567891011121314151617
  1. // RUN: not %clang_cc1 -E -frewrite-includes -DFIRST -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
  2. #if __has_include bar.h
  3. #endif
  4. #if __has_include(bar.h)
  5. #endif
  6. #if __has_include(<bar.h)
  7. #endif
  8. // CHECK: #if __has_include bar.h
  9. // CHECK: #endif
  10. // CHECK: #if __has_include(bar.h)
  11. // CHECK: #endif
  12. // CHECK: #if __has_include(<bar.h)
  13. // CHECK: #endif