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
/
2004-03-15-CleanupsAndGotos.cpp
diff --git
a/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp
b/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp
index 4a7715d53eb95f99d68804a76f87cfb6a985b55b..9bc70c84ab424feebba2843dd42120ccceb6a36e 100644
(file)
--- a/
test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp
+++ b/
test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp
@@
-1,3
+1,5
@@
+// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
+
// Testcase from Bug 291
struct X {
@@
-6,7
+8,7
@@
struct X {
void foo() {
X v;
-
-TryAgain:
+
+TryAgain:
goto TryAgain;
}