xref: /llvm-project/compiler-rt/test/rtsan/unrecognized_flags.cpp (revision 2e9b3316ee8b4339e2f023173db780ea09c44a88)
1 // RUN: %clangxx -fsanitize=realtime %s -o %t
2 // RUN: RTSAN_OPTIONS="verbosity=1,asdf=1" %run %t 2>&1 | FileCheck %s
3 // UNSUPPORTED: ios
4 
5 // Intent: Make sure we are respecting some basic common flags
6 
7 int main() {
8   return 0;
9   // CHECK: WARNING: found 1 unrecognized flag(s):
10   // CHECK-NEXT: {{.*asdf*}}
11 }
12