aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features169/transparent/DeclareAtTwo.java
diff options
context:
space:
mode:
authoraclement <aclement>2010-01-21 18:39:53 +0000
committeraclement <aclement>2010-01-21 18:39:53 +0000
commitf91ffb032fae7c7d9f59f4aedf27f067ba60919e (patch)
treedf21f06a213e08536473f9b1e21542909c28d0a3 /tests/features169/transparent/DeclareAtTwo.java
parentf7591e67250f1e6717bbebb23b5bb9c47fb05204 (diff)
downloadaspectj-f91ffb032fae7c7d9f59f4aedf27f067ba60919e.tar.gz
aspectj-f91ffb032fae7c7d9f59f4aedf27f067ba60919e.zip
299552: private ITD fields stay private in target (with unmangled name)
Diffstat (limited to 'tests/features169/transparent/DeclareAtTwo.java')
-rw-r--r--tests/features169/transparent/DeclareAtTwo.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/features169/transparent/DeclareAtTwo.java b/tests/features169/transparent/DeclareAtTwo.java
new file mode 100644
index 000000000..57c321afe
--- /dev/null
+++ b/tests/features169/transparent/DeclareAtTwo.java
@@ -0,0 +1,17 @@
+import java.lang.annotation.*;
+
+public class DeclareAtTwo {
+}
+
+aspect X {
+ declare @field: int DeclareAtTwo.x: @Anno2;
+
+ @Anno
+ private int DeclareAtTwo.x;
+}
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Anno {}
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Anno2 {}