summaryrefslogtreecommitdiff
path: root/test/profile
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile')
-rw-r--r--test/profile/Linux/instrprof-cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/Linux/instrprof-cs.c b/test/profile/Linux/instrprof-cs.c
index 3be4359d9..fdf29cb35 100644
--- a/test/profile/Linux/instrprof-cs.c
+++ b/test/profile/Linux/instrprof-cs.c
@@ -11,7 +11,7 @@
// Check context insenstive profile
// RUN: %clang_profuse=%t.cis.profdata -O2 -emit-llvm -S %s -o - | FileCheck %s --check-prefix=CIS
int g1 = 1;
-int g2 = 2;
+int volatile g2 = 2;
static void toggle(int t) {
if (t & 1)
g1 *= t;