aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ecj/.gitignore1
-rw-r--r--test/ecj/SimpleTest.java10
2 files changed, 11 insertions, 0 deletions
diff --git a/test/ecj/.gitignore b/test/ecj/.gitignore
new file mode 100644
index 00000000..5241a722
--- /dev/null
+++ b/test/ecj/.gitignore
@@ -0,0 +1 @@
+*.class \ No newline at end of file
diff --git a/test/ecj/SimpleTest.java b/test/ecj/SimpleTest.java
new file mode 100644
index 00000000..56c2a211
--- /dev/null
+++ b/test/ecj/SimpleTest.java
@@ -0,0 +1,10 @@
+@lombok.Data
+public class SimpleTest {
+ private final String test;
+ private final int foo;
+
+ public String bar() {
+ int val = getFoo() + 5;
+ return new SimpleTest("", 0).toString() + val;
+ }
+}