summaryrefslogtreecommitdiffstats
path: root/jack-tests/tests/com/android/jack/shrob/test043/jack
diff options
context:
space:
mode:
Diffstat (limited to 'jack-tests/tests/com/android/jack/shrob/test043/jack')
-rw-r--r--jack-tests/tests/com/android/jack/shrob/test043/jack/A.java24
-rw-r--r--jack-tests/tests/com/android/jack/shrob/test043/jack/B.java26
-rw-r--r--jack-tests/tests/com/android/jack/shrob/test043/jack/I.java21
3 files changed, 71 insertions, 0 deletions
diff --git a/jack-tests/tests/com/android/jack/shrob/test043/jack/A.java b/jack-tests/tests/com/android/jack/shrob/test043/jack/A.java
new file mode 100644
index 00000000..662e9efe
--- /dev/null
+++ b/jack-tests/tests/com/android/jack/shrob/test043/jack/A.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.jack.shrob.test043.jack;
+
+public class A {
+
+ public void test() {
+ new B();
+ }
+}
diff --git a/jack-tests/tests/com/android/jack/shrob/test043/jack/B.java b/jack-tests/tests/com/android/jack/shrob/test043/jack/B.java
new file mode 100644
index 00000000..eb90eae0
--- /dev/null
+++ b/jack-tests/tests/com/android/jack/shrob/test043/jack/B.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.jack.shrob.test043.jack;
+
+public class B implements I {
+
+ @Override
+ public int getInt() {
+ return 1;
+ }
+
+}
diff --git a/jack-tests/tests/com/android/jack/shrob/test043/jack/I.java b/jack-tests/tests/com/android/jack/shrob/test043/jack/I.java
new file mode 100644
index 00000000..df09f669
--- /dev/null
+++ b/jack-tests/tests/com/android/jack/shrob/test043/jack/I.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.jack.shrob.test043.jack;
+
+public interface I {
+ int getInt();
+}