Add a test for the class kind of `Object`
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Thu, 4 Aug 2016 16:32:56 +0000 (12:32 -0400)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Thu, 4 Aug 2016 16:32:56 +0000 (12:32 -0400)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

tests/test_object_class_kind.nit [new file with mode: 0644]

diff --git a/tests/test_object_class_kind.nit b/tests/test_object_class_kind.nit
new file mode 100644 (file)
index 0000000..415694f
--- /dev/null
@@ -0,0 +1,22 @@
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# 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.
+
+import end
+
+interface Object #alt1-4#
+#alt1# abstract class Object
+#alt2# class Object
+#alt3# enum Object
+#alt4# extern class Object
+end