test/langtools/tools/javac/6491592/T6491592.java
changeset 47216 71c04702a3d5
parent 6150 d055fa8ced62
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/langtools/tools/javac/6491592/T6491592.java	Tue Sep 12 19:03:39 2017 +0200
@@ -0,0 +1,14 @@
+/*
+ * @test /nodynamiccopyright/
+ * @bug     6491592
+ * @summary Compiler crashes on assignment operator
+ * @author  alex.buckley@...
+ * @compile/fail/ref=T6491592.out -XDrawDiagnostics T6491592.java
+ */
+
+public class T6491592 {
+    public static void main(String... args) {
+        Object o = null;
+        o += null;
+    }
+}