From 8d793a3f9960f101a4cae59b959ce612f3fef4c9 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Sun, 27 Apr 2003 23:30:14 +0000 Subject: [PATCH] tests for Bugzilla Bug 36936 Error when introducing members of type Class --- tests/bugs/interSpecials/Asp.java | 3 +++ tests/bugs/interSpecials/Trg.java | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/bugs/interSpecials/Asp.java create mode 100644 tests/bugs/interSpecials/Trg.java diff --git a/tests/bugs/interSpecials/Asp.java b/tests/bugs/interSpecials/Asp.java new file mode 100644 index 000000000..f1aafec0a --- /dev/null +++ b/tests/bugs/interSpecials/Asp.java @@ -0,0 +1,3 @@ +public aspect Asp { + public Class Trg.member = String.class; +} \ No newline at end of file diff --git a/tests/bugs/interSpecials/Trg.java b/tests/bugs/interSpecials/Trg.java new file mode 100644 index 000000000..c47841b94 --- /dev/null +++ b/tests/bugs/interSpecials/Trg.java @@ -0,0 +1,6 @@ +public class Trg { + public static void main(String args[]) { + new Trg(); + System.out.println("All ok"); + } +} -- 2.39.5