Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / dfsan / origin_untainted.c
blobcc6ebc5a03e59cc463eac662f243c1b4d691c68a
1 // RUN: %clang_dfsan -gmlt -mllvm -dfsan-track-origins=1 %s -o %t && \
2 // RUN: %run %t >%t.out 2>&1
3 // RUN: FileCheck %s < %t.out
5 #include <sanitizer/dfsan_interface.h>
7 int main(int argc, char *argv[]) {
8 uint64_t a = 10;
9 dfsan_print_origin_trace(&a, NULL);
12 // CHECK: DFSan: no tainted value at {{.*}}