1 // RUN: %clangxx_asan -O2 %s -o %t 2 // RUN: %run %t 2>&1 | FileCheck %s 3 4 // FIXME: merge this with the common default_options test when we can run common 5 // tests on Windows. 6 7 const char *kAsanDefaultOptions="verbosity=1 help=1"; 8 9 extern "C" 10 __attribute__((no_sanitize_address)) __asan_default_options()11const char *__asan_default_options() { 12 // CHECK: Available flags for AddressSanitizer: 13 return kAsanDefaultOptions; 14 } 15 main()16int main() { 17 return 0; 18 } 19