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