summaryrefslogtreecommitdiffstats
path: root/jack-tests/tests/com/android/jack/frontend/test014
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2015-03-27 18:39:10 +0100
committerYohann Roussel <yroussel@google.com>2015-04-03 15:33:22 +0200
commit50ab98605f6839940a495cb58a08b9f1588309a3 (patch)
treeab5c787313f856246008ce15b34df73698338c55 /jack-tests/tests/com/android/jack/frontend/test014
parent935baa0018d0229659362fc04b60bbfea401fb8e (diff)
downloadtoolchain_jack-50ab98605f6839940a495cb58a08b9f1588309a3.tar.gz
toolchain_jack-50ab98605f6839940a495cb58a08b9f1588309a3.tar.bz2
toolchain_jack-50ab98605f6839940a495cb58a08b9f1588309a3.zip
Add tests about BlockScope.getEmulationPath
Bug: 19952019 Change-Id: I6cd7b8bebc4564f33359a550e3c56f1894301e15
Diffstat (limited to 'jack-tests/tests/com/android/jack/frontend/test014')
-rw-r--r--jack-tests/tests/com/android/jack/frontend/test014/jack/ClassWithInner.java24
-rw-r--r--jack-tests/tests/com/android/jack/frontend/test014/jack/ExtendingInnerInStaticContext.java25
2 files changed, 49 insertions, 0 deletions
diff --git a/jack-tests/tests/com/android/jack/frontend/test014/jack/ClassWithInner.java b/jack-tests/tests/com/android/jack/frontend/test014/jack/ClassWithInner.java
new file mode 100644
index 00000000..12042aea
--- /dev/null
+++ b/jack-tests/tests/com/android/jack/frontend/test014/jack/ClassWithInner.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.frontend.test014.jack;
+
+public class ClassWithInner {
+ public class Inner {
+
+ }
+
+}
diff --git a/jack-tests/tests/com/android/jack/frontend/test014/jack/ExtendingInnerInStaticContext.java b/jack-tests/tests/com/android/jack/frontend/test014/jack/ExtendingInnerInStaticContext.java
new file mode 100644
index 00000000..5b0b1b44
--- /dev/null
+++ b/jack-tests/tests/com/android/jack/frontend/test014/jack/ExtendingInnerInStaticContext.java
@@ -0,0 +1,25 @@
+/*
+ * 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.frontend.test014.jack;
+
+import com.android.jack.frontend.test013.jack.ClassWithInner;
+
+public class ExtendingInnerInStaticContext extends ClassWithInner {
+
+ public static class ExtendingInner extends ClassWithInner.Inner {
+ }
+}