diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2008-11-19 17:44:31 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2008-11-19 17:44:31 +0000 |
commit | 0e33c688d519bffe80ef2b45a5c7107ebaf7d9cf (patch) | |
tree | 253a4b405780633f953534767386b1c78b86d09b /clang/test | |
parent | 7768a30c3740b59809a33fdf296dfc3489a88e0e (diff) | |
download | bcm5719-llvm-0e33c688d519bffe80ef2b45a5c7107ebaf7d9cf.tar.gz bcm5719-llvm-0e33c688d519bffe80ef2b45a5c7107ebaf7d9cf.zip |
fix folding of '*doubleArray'
llvm-svn: 59647
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/exprs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c index 275c988ab9b..07a9158744b 100644 --- a/clang/test/CodeGen/exprs.c +++ b/clang/test/CodeGen/exprs.c @@ -45,3 +45,10 @@ int ola() { if ((0, (int)a) & 2) { return 1; } return 2; } + +// this one shouldn't fold as well +void eMaisUma() { + double t[1]; + if (*t) + return; +} |