Files
clang-p2996/compiler-rt/test/asan/TestCases/default_options.cc
Timur Iskhodzhanov 7f29181323 [ASan tests] Exclude some tests from Windows runs
Some features are not supported yet and some are not planned to be fixed soon

llvm-svn: 209733
2014-05-28 13:06:14 +00:00

19 lines
425 B
C++

// RUN: %clangxx_asan -O2 %s -o %t
// RUN: %run %t 2>&1 | FileCheck %s
// __asan_default_options() are not supported on Windows.
// XFAIL: win32
const char *kAsanDefaultOptions="verbosity=1 foo=bar";
extern "C"
__attribute__((no_sanitize_address))
const char *__asan_default_options() {
// CHECK: Using the defaults from __asan_default_options: {{.*}} foo=bar
return kAsanDefaultOptions;
}
int main() {
return 0;
}