1 // Test that no data is collected without a runtime flag.
4 // RUN: mkdir -p %t-dir
6 // RUN: %clangxx_asan -fsanitize-coverage=func,trace-pc-guard %s -o %t
8 // RUN: %env_asan_opts=coverage_direct=0:coverage_dir='"%t-dir"':verbosity=1 %run %t
9 // RUN: not %sancov print %t-dir/*.sancov 2>&1
11 // UNSUPPORTED: android
13 int main(int argc
, char **argv
) {