#389. More NNBD static errors tests. Write to final late variable
diff --git a/LanguageFeatures/nnbd/static_errors_A18_t02.dart b/LanguageFeatures/nnbd/static_errors_A18_t02.dart
new file mode 100644
index 0000000..b474bcd
--- /dev/null
+++ b/LanguageFeatures/nnbd/static_errors_A18_t02.dart
@@ -0,0 +1,36 @@
+/*
+ * Copyright (c) 2019, the Dart project authors.  Please see the AUTHORS file
+ * for details. All rights reserved. Use of this source code is governed by a
+ * BSD-style license that can be found in the LICENSE file.
+ */
+/**
+ * @assertion It is not a compile time error to write to a final variable if
+ * that variable is declared late and does not have an initializer.
+ *
+ * @description Check that it is a runtime error to write to a final variable
+ * when that variable is declared late but has been written to already
+ * @author sgrekhov@unipro.ru
+ */
+// SharedOptions=--enable-experiment=non-nullable
+import "../../Utils/expect.dart";
+
+final late g;
+
+class C {
+  static final late s;
+  final late v;
+}
+
+main() {
+  final late l;
+
+  g = "Lily";
+  C.s = "was";
+  new C().v = "here";
+  l = "Run, Forrest, run";
+
+  Expect.throws(() {g = "Lily";});
+  Expect.throws(() {C.s = "was";});
+  Expect.throws(() {new C().v = "here";});
+  Expect.throws(() {l = "Run, Forrest, run";});
+}