aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValErrors.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-11-03 00:42:58 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-03 00:42:58 +0100
commitf1cf083890c223bf7245190264438740ee724bc9 (patch)
tree769894a3fccdbd9c7d44f241f700bbc9550c653b /test/transform/resource/before/ValErrors.java
parentd9ba2a191ac71e7d8689f1ad0e99160b1c8dae3d (diff)
downloadlombok-f1cf083890c223bf7245190264438740ee724bc9.tar.gz
lombok-f1cf083890c223bf7245190264438740ee724bc9.tar.bz2
lombok-f1cf083890c223bf7245190264438740ee724bc9.zip
val in java, including tests and javac resolution utilities.
Diffstat (limited to 'test/transform/resource/before/ValErrors.java')
-rw-r--r--test/transform/resource/before/ValErrors.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValErrors.java b/test/transform/resource/before/ValErrors.java
new file mode 100644
index 00000000..742bca6d
--- /dev/null
+++ b/test/transform/resource/before/ValErrors.java
@@ -0,0 +1,9 @@
+public class ValErrors {
+ public void nullType() {
+ val a = null;
+ }
+
+ public void unresolvableExpression() {
+ val c = d;
+ }
+} \ No newline at end of file