blob: 58b5be9fcbb765bdb1aebd05988b09562823cc8c [file] [log] [blame]
Alexander Potapenko087c65f2012-09-20 10:10:01 +00001// Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.
2
Stephen Hines651f13c2014-04-23 16:59:28 -07003// RUN: %clang -fsanitize=address %s -E -dM -target x86_64-darwin | FileCheck %s
Alexander Potapenko68bf16f2012-09-24 10:25:24 +00004
Alexander Potapenko087c65f2012-09-20 10:10:01 +00005// CHECK: #define _FORTIFY_SOURCE 0