Home | History | Annotate | Download | only in Lexer
      1 // RUN: %clang_cc1 -E -fsanitize=address %s -o - | FileCheck --check-prefix=CHECK-ASAN %s
      2 // RUN: %clang_cc1 -E  %s -o - | FileCheck --check-prefix=CHECK-NO-ASAN %s
      3 
      4 #if __has_feature(address_sanitizer)
      5 int AddressSanitizerEnabled();
      6 #else
      7 int AddressSanitizerDisabled();
      8 #endif
      9 
     10 // CHECK-ASAN: AddressSanitizerEnabled
     11 // CHECK-NO-ASAN: AddressSanitizerDisabled
     12