summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/profile/instrprof-merging.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/profile/instrprof-merging.cpp b/test/profile/instrprof-merging.cpp
index 06f05ce61..692b049ec 100644
--- a/test/profile/instrprof-merging.cpp
+++ b/test/profile/instrprof-merging.cpp
@@ -1,8 +1,11 @@
// 1) Compile shared code into different object files and into an executable.
-// RUN: %clangxx_profgen -fcoverage-mapping %s -c -o %t.v1.o -D_VERSION_1
-// RUN: %clangxx_profgen -fcoverage-mapping %s -c -o %t.v2.o -D_VERSION_2
-// RUN: %clangxx_profgen -fcoverage-mapping %t.v1.o %t.v2.o -o %t.exe
+// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %s -c -o %t.v1.o \
+// RUN: -D_VERSION_1
+// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %s -c -o %t.v2.o \
+// RUN: -D_VERSION_2
+// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %t.v1.o %t.v2.o \
+// RUN: -o %t.exe
// 2) Collect profile data.