summaryrefslogtreecommitdiffstats
path: root/test/Analysis/complex.c
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-21 18:44:24 +0000
committerMike Stump <mrs@apple.com>2009-07-21 18:44:24 +0000
commitfd28a619da3dda5f9b897abbb469cf699098e965 (patch)
tree068dd114f682d3740062e656f5a7e1940c9e474e /test/Analysis/complex.c
parent4cd1608ba49c456504a3a25522c54a534b6880f3 (diff)
Prep for new warnings about control flow falling off the ends of
functions that return a value. I was going to buffer the whole lot up, but it should be easier to review if I check them in incrementally. Most of the forth coming changes either add a return value, or make it impossible to return, or alter the return type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/complex.c')
-rw-r--r--test/Analysis/complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/complex.c b/test/Analysis/complex.c
index 6f850695ce..e1e60bbe2f 100644
--- a/test/Analysis/complex.c
+++ b/test/Analysis/complex.c
@@ -7,7 +7,7 @@
#include <stdint.h>
-int f1(int * p) {
+void f1(int * p) {
// This branch should be infeasible
// because __imag__ p is 0.