summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp
index 4c1a57914c9..a823f3725dd 100644
--- a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp
+++ b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp
@@ -12,6 +12,8 @@ __attribute__((noinline))
void f(uint8_t a, uint8_t b, uint8_t c, uint8_t d) {
if (a == b + 1 && c == d + 2)
sink++;
+ if (a == d + 1 && c == b + 2)
+ sink++;
}
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
OpenPOWER on IntegriCloud