projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2008-12-07 Zoltan Varga <vargaz@gmail.com>
[mono.git]
/
mono
/
tests
/
stack-overflow.cs
diff --git
a/mono/tests/stack-overflow.cs
b/mono/tests/stack-overflow.cs
index 3996eedb0ed2a7cbef667bf994c792989c861e4d..d71f9d0719de9a0df9e8f67755a52d7f5481d7ab 100644
(file)
--- a/
mono/tests/stack-overflow.cs
+++ b/
mono/tests/stack-overflow.cs
@@
-26,6
+26,10
@@
public class Tests {
public static int foo () {
A5 a5;
+ /* Prevent a5 from being optimized away */
+ a5 = new A5 ();
+ a5.a1.a1.a1.a1.a1 = 5;
+
return foo () + 1;
}