aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr158126/A.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr158126/A.java')
-rw-r--r--tests/bugs153/pr158126/A.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs153/pr158126/A.java b/tests/bugs153/pr158126/A.java
new file mode 100644
index 000000000..d92c77fcb
--- /dev/null
+++ b/tests/bugs153/pr158126/A.java
@@ -0,0 +1,17 @@
+public class A {
+
+ @MyAnnotation
+ public A() {
+ new B();
+ }
+
+ @MyAnnotation
+ public A(int i) {
+ new B(i);
+ }
+
+ public static void main(String[] args) {
+ new A();
+ new A(1);
+ }
+}