diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-15 01:45:10 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-15 01:45:10 +0000 |
| commit | 1757a5236ad0921fea0d7f4f57137e01f391579f (patch) | |
| tree | 88108215cb1a60ae6cfc4344413522d1e7fe0770 /libjava/testsuite/libjava.compile | |
| parent | d1e7f37a0a154409afa6071a9c977816dac0939a (diff) | |
| download | ppe42-gcc-1757a5236ad0921fea0d7f4f57137e01f391579f.tar.gz ppe42-gcc-1757a5236ad0921fea0d7f4f57137e01f391579f.zip | |
* libjava.compile/PR140.java: New file, for PR gcj/140.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32551 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.compile')
| -rw-r--r-- | libjava/testsuite/libjava.compile/PR140.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR140.java b/libjava/testsuite/libjava.compile/PR140.java new file mode 100644 index 00000000000..0f59d6e1d68 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR140.java @@ -0,0 +1,13 @@ +public class PR140 { + public static void fill(int[] a) { + for (int i = 0; i < a.length; i++) { + a[i] = i; + } + } + public static void main(String[] args) { + int[] a = new int[3]; + fill(a); + a.length = 3000; + fill(a); + } +} |

