Move pr717 to here.

llvm-svn: 47803
This commit is contained in:
Chris Lattner 2008-03-02 02:51:40 +00:00
parent 3cc9be0b59
commit 647c6642e7
1 changed files with 14 additions and 0 deletions

View File

@ -691,3 +691,17 @@ instead of:
...
//===---------------------------------------------------------------------===//
http://llvm.org/PR717:
The following code should compile into "ret int undef". Instead, LLVM
produces "ret int 0":
int f() {
int x = 4;
int y;
if (x == 3) y = 0;
return y;
}
//===---------------------------------------------------------------------===//