aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr154054/src/MyClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr154054/src/MyClass.java')
-rw-r--r--tests/bugs153/pr154054/src/MyClass.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs153/pr154054/src/MyClass.java b/tests/bugs153/pr154054/src/MyClass.java
new file mode 100644
index 000000000..4e81e3038
--- /dev/null
+++ b/tests/bugs153/pr154054/src/MyClass.java
@@ -0,0 +1,19 @@
+public class MyClass {
+
+ int x;
+
+ public int getX() {
+ return x;
+ }
+
+ public void setX(int x) {
+ this.x = x;
+ }
+
+ public static void main(String[] args) {
+ MyClass m = new MyClass();
+ m.setX(10);
+ System.out.println(m.getX());
+ }
+
+}