summaryrefslogtreecommitdiffstats
path: root/test/Analysis/dead-stores.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/dead-stores.c')
-rw-r--r--test/Analysis/dead-stores.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c
index 63c9d0d..91f2b2a 100644
--- a/test/Analysis/dead-stores.c
+++ b/test/Analysis/dead-stores.c
@@ -17,6 +17,8 @@ void f2(void *b) {
// expected-note{{please include the header <stdio.h> or explicitly provide a declaration for 'printf'}}
}
+int f();
+
void f3() {
int r;
if ((r = f()) != 0) { // no-warning
OpenPOWER on IntegriCloud