summaryrefslogtreecommitdiff
path: root/test/138-duplicate-classes-check/src-ex/TestEx.java
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-04-25 01:35:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-25 01:35:01 +0000
commit6e655afb37a528cfd90aa702b1600e1eb5d10a58 (patch)
tree347bd14890a81298fedf0ba97769077b9ef3d57f /test/138-duplicate-classes-check/src-ex/TestEx.java
parentb5aad4c54e0bf1aff6a0c49cb682defaafb81e1e (diff)
parentb9aec2ccd8b9f39a4ddadde5ca8304cea6b1b188 (diff)
Merge "ART: Check for duplicate classes when loading oat files"
Diffstat (limited to 'test/138-duplicate-classes-check/src-ex/TestEx.java')
-rw-r--r--test/138-duplicate-classes-check/src-ex/TestEx.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/138-duplicate-classes-check/src-ex/TestEx.java b/test/138-duplicate-classes-check/src-ex/TestEx.java
new file mode 100644
index 0000000000..87558fafac
--- /dev/null
+++ b/test/138-duplicate-classes-check/src-ex/TestEx.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.
+ */
+
+public class TestEx {
+ public static void test() {
+ System.out.println(new A().i);
+ }
+}