summaryrefslogtreecommitdiff
path: root/test/585-inline-unresolved/src/Main.java
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-03-16 16:58:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-16 16:58:22 +0000
commit8b5e04b3573f430dc0475c17f4b3c6ada8aaccf5 (patch)
tree584efbc108d09817c62e45dbf5638a50bce58e00 /test/585-inline-unresolved/src/Main.java
parent713c519db15aaa8d6f33b744fd28adddb97a07c2 (diff)
parent44fd0e5e9cc384783398b1f3ad85937aa856651c (diff)
Merge "Fix inliner crash related to type propagation."
Diffstat (limited to 'test/585-inline-unresolved/src/Main.java')
-rw-r--r--test/585-inline-unresolved/src/Main.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/585-inline-unresolved/src/Main.java b/test/585-inline-unresolved/src/Main.java
new file mode 100644
index 0000000000..67ad4d2263
--- /dev/null
+++ b/test/585-inline-unresolved/src/Main.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2016 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 Main {
+ public static void main(String[] args) throws Exception {
+ Class<?> c = Class.forName("TestCase");
+ c.getMethod("topLevel").invoke(null);
+ }
+}