aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-07-29 10:32:54 +0000
committeracolyer <acolyer>2004-07-29 10:32:54 +0000
commitfdff68edb5e7e5ec93b7a71ee11b9fe635c88bc8 (patch)
treec6f8779ecf0fd05e9c98b56357fb4c0dcc75b79b /tests/bugs
parentb383dfb6458c3871fa09ac71768899e9c1683822 (diff)
downloadaspectj-fdff68edb5e7e5ec93b7a71ee11b9fe635c88bc8.tar.gz
aspectj-fdff68edb5e7e5ec93b7a71ee11b9fe635c88bc8.zip
test for Bugzilla Bug 64262
ClassCastException at BcelRenderer.java:16
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/pr64262/PrimitiveCoercionInExactTypePatternMatching.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs/pr64262/PrimitiveCoercionInExactTypePatternMatching.java b/tests/bugs/pr64262/PrimitiveCoercionInExactTypePatternMatching.java
new file mode 100644
index 000000000..54bcee33d
--- /dev/null
+++ b/tests/bugs/pr64262/PrimitiveCoercionInExactTypePatternMatching.java
@@ -0,0 +1,15 @@
+
+
+public class PrimitiveCoercionInExactTypePatternMatching {
+ double foo(double x) {
+ return x;
+ }
+}
+
+aspect Aspect {
+
+ pointcut foo(int b): args(b);
+
+ before(int i) : foo(i) {
+ }
+} \ No newline at end of file