From e288ce7cea063de3570c7f1a68dcaaaf8a17f9f2 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 31 May 2010 17:46:07 +0000 Subject: [PATCH] 314695 --- tests/bugs169/pr314965/MinimalExample.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/bugs169/pr314965/MinimalExample.java diff --git a/tests/bugs169/pr314965/MinimalExample.java b/tests/bugs169/pr314965/MinimalExample.java new file mode 100644 index 000000000..171694cec --- /dev/null +++ b/tests/bugs169/pr314965/MinimalExample.java @@ -0,0 +1,13 @@ +public aspect MinimalExample { + declare @type : @AnnotationWithParam("arg") * : @AnnotationWithParam2("gra"); + // the following lines leads to a misleading compiler error + declare @type : @AnnotationWithParamAndTypo("arg") * : @AnnotationWithParam2("gra"); +} + +@interface AnnotationWithParam { + String value(); +} + +@interface AnnotationWithParam2 { + String value(); +} -- 2.39.5