]> git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/asan/TestCases/Windows/default_options.cc
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / test / asan / TestCases / Windows / default_options.cc
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))
11 const char *__asan_default_options() {
12 // CHECK: Available flags for AddressSanitizer:
13 return kAsanDefaultOptions;
14 }
15
16 int main() {
17 return 0;
18 }