summaryrefslogtreecommitdiff
path: root/test/121-modifiers/src-java/A.java
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-02-07 16:03:57 -0800
committer Andreas Gampe <agampe@google.com> 2017-02-07 16:36:42 -0800
commit2b936811a58e66f39e263d42447e57fe13bff97d (patch)
tree22aab43b817c3422173d84a638aefa911b82edaf /test/121-modifiers/src-java/A.java
parentf8512f8515f7568984e1ca209929262ea88e4b59 (diff)
ART: Change test 121-modifiers to use smali
Jack/Jill aren't very happy with broken input. Bug: 19561685 Test: m test-art-host-run-test-121-modifiers Test: art/test/run-test --host --jvm 121-modifiers Change-Id: Iedd825f379a15e78ad1233af43350fd9d2d77889
Diffstat (limited to 'test/121-modifiers/src-java/A.java')
-rw-r--r--test/121-modifiers/src-java/A.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/121-modifiers/src-java/A.java b/test/121-modifiers/src-java/A.java
new file mode 100644
index 0000000000..d97f6b3f89
--- /dev/null
+++ b/test/121-modifiers/src-java/A.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 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.
+ */
+
+// These classes are to check the additional flags for inner classes.
+class A {
+ private static class B {
+ }
+ protected static interface C {
+ }
+}