projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LegalizeTypes can sometimes have deleted nodes
[oota-llvm.git]
/
test
/
C++Frontend
/
2005-02-20-BrokenReferenceTest.cpp
diff --git
a/test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp
b/test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp
index af15f814f168074ac0d203a6fa99cb8397631e77..31026d30e90c7fe2e2f9fae7cf70800511a5065b 100644
(file)
--- a/
test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp
+++ b/
test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp
@@
-3,7
+3,7
@@
void test(unsigned char *b, int rb) {
typedef unsigned char imgfoo[10][rb];
imgfoo &br = *(imgfoo *)b;
-
+
br[0][0] = 1;
rb = br[0][0];