aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR127.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR127.java b/libjava/testsuite/libjava.compile/PR127.java
new file mode 100644
index 0000000..6a2e699
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR127.java
@@ -0,0 +1,11 @@
+// Test case for PR127:
+// gcj dumps core on method invocation on a primitive type
+
+class PR127
+{
+ void f()
+ {
+ int i;
+ i.f();
+ }
+}