Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
3789983e89c9de252ef546a1b98a732a7d066650
/
.
/
test
/
langtools
/
tools
/
javac
/
expression
/
NullAppend2.java
blob: 857d12f1671924645873b2a80bb99836759cf39d [
file
] [
log
] [
blame
]
/*
* @test /nodynamiccopyright/
* @bug 4717193
* @summary javac improperly allows null + 1
* @author gafter
* @compile/fail/ref=NullAppend2.out -XDrawDiagnostics NullAppend2.java
*/
class
NullAppend2
{{
String
s
=
null
+
1
;
}}