aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/region-only-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/region-only-test.c')
-rw-r--r--test/Analysis/region-only-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/region-only-test.c b/test/Analysis/region-only-test.c
index 64d3fcd57b2a..8908adb1057c 100644
--- a/test/Analysis/region-only-test.c
+++ b/test/Analysis/region-only-test.c
@@ -9,5 +9,5 @@ void foo(int* p) {
if (p[0] == 1)
x = &a;
if (p[0] == 1)
- *x; // no-warning
+ (void)*x; // no-warning
}