summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/InterfaceAndClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/InterfaceAndClass.java')
-rw-r--r--tests/pureJava/InterfaceAndClass.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pureJava/InterfaceAndClass.java b/tests/pureJava/InterfaceAndClass.java
new file mode 100644
index 000000000..d0d5df67f
--- /dev/null
+++ b/tests/pureJava/InterfaceAndClass.java
@@ -0,0 +1,13 @@
+package p;
+
+import org.aspectj.testing.Tester;
+
+public class InterfaceAndClass {
+ public static void main(String[] args) {
+ Tester.checkEqual(I.type, I.class, "same class");
+ }
+}
+
+interface I {
+ public final Class type = I.class;
+}