Fix test case, which has a control-reaches-end-of-non-void warning that was

being masked by previous bug.

llvm-svn: 76858
This commit is contained in:
Daniel Dunbar 2009-07-23 05:06:51 +00:00
parent a2f7c95dca
commit 34169976d0
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// RUN: clang-cc -fsyntax-only -verify %s
int test() {
void test() {
void *vp;
int *ip;
char *cp;
@ -15,4 +15,3 @@ int test() {
if (sint < ip) {} // expected-warning {{comparison between pointer and integer ('int' and 'int *')}}
if (ip == cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}
}