aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/Cosmetic.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs/Cosmetic.java b/tests/bugs/Cosmetic.java
new file mode 100644
index 000000000..bc874305b
--- /dev/null
+++ b/tests/bugs/Cosmetic.java
@@ -0,0 +1,11 @@
+ class Test {
+ public static void main(String[] args) {
+ test();
+ }
+ static void test() {
+ throw new Error("hello");
+ }
+ static aspect A {
+ declare soft : unknown.Error : call(void test()); // CE should be a message saying cant bind type 'unknown.Error' and not 'unknown$Error'
+ }
+} \ No newline at end of file