summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp')
-rw-r--r--compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp b/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
index 2b83d3597f3..0183d939af5 100644
--- a/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
+++ b/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
@@ -12,7 +12,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
auto C = [&] {
- volatile void *a = malloc(5639);
+ void * volatile a = malloc(5639);
free((void *)a);
};
std::thread T[] = {std::thread(C), std::thread(C), std::thread(C),
OpenPOWER on IntegriCloud