diff options
author | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-10 17:31:57 +0000 |
---|---|---|
committer | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-10 17:31:57 +0000 |
commit | e9897a91bab2bb97cfdaf6590a4e3e72c41a1350 (patch) | |
tree | 094a0e787493643baee9b52cacf6bf102b83b3ce /libjava | |
parent | 9ab58ce44b93127e9ce872104df39a27fdcc2fba (diff) |
This commit was manufactured by cvs2svn to create branch
'apple-local-200502-branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@100821 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/testsuite/libjava.compile/pr21519.java | 8 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/pr21519.no-link | 0 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr21519.java b/libjava/testsuite/libjava.compile/pr21519.java new file mode 100644 index 00000000000..c836a8f9f7f --- /dev/null +++ b/libjava/testsuite/libjava.compile/pr21519.java @@ -0,0 +1,8 @@ +public class pr21519 { + char[] source; + public int compute(int pos) { + for (int i = 0; i < pos; ++i) + if (!(source[i] == ' ' || source[i] == '\t')) return -1; + return pos; + } +} diff --git a/libjava/testsuite/libjava.compile/pr21519.no-link b/libjava/testsuite/libjava.compile/pr21519.no-link new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/libjava/testsuite/libjava.compile/pr21519.no-link |