1 // RUN: %clangxx_asan -O2 %s -o %t 2 // RUN: %run %t 2>&1 | FileCheck %s 3 4 const char *kAsanDefaultOptions="verbosity=1 help=1"; 5 6 extern "C" 7 __attribute__((no_sanitize_address)) __asan_default_options()8const char *__asan_default_options() { 9 // CHECK: Available flags for AddressSanitizer: 10 return kAsanDefaultOptions; 11 } 12 main()13int main() { 14 return 0; 15 } 16