aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/pr335810/One.java
diff options
context:
space:
mode:
authoraclement <aclement>2011-04-28 00:04:31 +0000
committeraclement <aclement>2011-04-28 00:04:31 +0000
commit25cac9205ccc64b5c175d72a555b5c1f0389c09d (patch)
tree89ab1ea475d74e86709679506c102537bc7a794a /tests/bugs1612/pr335810/One.java
parent63b41bcc254ccca230d910396ebc36ec6ab7845b (diff)
downloadaspectj-25cac9205ccc64b5c175d72a555b5c1f0389c09d.tar.gz
aspectj-25cac9205ccc64b5c175d72a555b5c1f0389c09d.zip
335810
Diffstat (limited to 'tests/bugs1612/pr335810/One.java')
-rw-r--r--tests/bugs1612/pr335810/One.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs1612/pr335810/One.java b/tests/bugs1612/pr335810/One.java
new file mode 100644
index 000000000..e09e390cc
--- /dev/null
+++ b/tests/bugs1612/pr335810/One.java
@@ -0,0 +1,16 @@
+import java.util.List;
+
+public class One {
+
+ @SuppressWarnings("rawtypes")
+ public void m(List l) {
+
+ }
+
+ @SuppressWarnings("unchecked")
+ public void m2(List<?> input) {
+ List<String> ls = (List<String>)input;
+ System.out.println(ls);
+ }
+}
+