mi_opt2.c 299 B

123456789101112131415
  1. // RUN: %clang_cc1 -E %s | FileCheck %s
  2. // PR6282
  3. // This test should not trigger the include guard optimization since
  4. // the guard macro is defined on the first include.
  5. #define ITERATING 1
  6. #define X 1
  7. #include "mi_opt2.h"
  8. #undef X
  9. #define X 2
  10. #include "mi_opt2.h"
  11. // CHECK: b: 1
  12. // CHECK: b: 2