commit | 1cea4f4d26bf76872fc42439f1d1b177d400c54b | [log] [tgz] |
---|---|---|
author | Nuno Lopes <nunoplopes@sapo.pt> | Wed Nov 19 17:44:31 2008 +0000 |
committer | Nuno Lopes <nunoplopes@sapo.pt> | Wed Nov 19 17:44:31 2008 +0000 |
tree | ed8ef1db1441383ffc4e42df0bb372b1f615344c | |
parent | 5703f445bef3af2fed61b60a291530670d2b64c0 [diff] |
fix folding of '*doubleArray' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59647 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/exprs.c b/test/CodeGen/exprs.c index 275c988..07a9158 100644 --- a/test/CodeGen/exprs.c +++ b/test/CodeGen/exprs.c
@@ -45,3 +45,10 @@ if ((0, (int)a) & 2) { return 1; } return 2; } + +// this one shouldn't fold as well +void eMaisUma() { + double t[1]; + if (*t) + return; +}