llvm-project/clang/test/Driver/darwin-asan-nofortify.c

6 lines
195 B
C
Raw Normal View History

// Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.
// REQUIRES: system-darwin
// RUN: %clang -faddress-sanitizer %s -E -dM -o - | FileCheck %s
// CHECK: #define _FORTIFY_SOURCE 0