diff options
author | Andy Clement <aclement@pivotal.io> | 2016-12-16 15:47:37 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-12-16 15:47:37 -0800 |
commit | ab4df7e110b0a4ddfc9cc1ec1653d3433c9605c4 (patch) | |
tree | d0b53279c531d2674041050e0a0510cd0f4c34a6 /tests/bugs1811/parameterizedWithInner | |
parent | 8e079ecde2315294e16de8304899d19acdd15c36 (diff) | |
download | aspectj-ab4df7e110b0a4ddfc9cc1ec1653d3433c9605c4.tar.gz aspectj-ab4df7e110b0a4ddfc9cc1ec1653d3433c9605c4.zip |
1.8.11 test setup and wip tests
Diffstat (limited to 'tests/bugs1811/parameterizedWithInner')
-rw-r--r-- | tests/bugs1811/parameterizedWithInner/Code.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs1811/parameterizedWithInner/Code.java b/tests/bugs1811/parameterizedWithInner/Code.java new file mode 100644 index 000000000..182a01d88 --- /dev/null +++ b/tests/bugs1811/parameterizedWithInner/Code.java @@ -0,0 +1,20 @@ +public class Code { + public static void main(String []argv) { + } +} + +class Outer<T> { + class Inner { + T t; + Inner(T t) { + this.t =t ; + } + } + + public Inner m() {return null;} + public Outer<String>.Inner m2() { + Outer<String> os = new Outer<String>(); + return os.new Inner("foo"); + } + public Outer<?>.Inner m3() {return null;} +} |