1 // RUN: %clang_msan %s -o %t
2 // RUN: MSAN_OPTIONS=intercept_strcmp=false %run %t 2>&1
3 // RUN: MSAN_OPTIONS=intercept_strcmp=true not %run %t 2>&1 | FileCheck %s
4 // RUN: not %run %t 2>&1 | FileCheck %s
10 int main(int argc
, char **argv
) {
14 assert(strcmp(s1
, s2
) > 0);
16 assert(strcmp(s1
, s2
));
18 // CHECK: {{.*WARNING: MemorySanitizer: use-of-uninitialized-value}}