aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog4
-rw-r--r--test/automated/f90.el16
2 files changed, 20 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index abc582c20fa..7ba14964c0a 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
12015-02-24 Glenn Morris <rgm@gnu.org>
2
3 * automated/f90.el (f90-test-bug-19809): New test.
4
12015-02-22 Michael Albinus <michael.albinus@gmx.de> 52015-02-22 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * automated/tramp-tests.el (tramp-test17-insert-directory): 7 * automated/tramp-tests.el (tramp-test17-insert-directory):
diff --git a/test/automated/f90.el b/test/automated/f90.el
index c6bc41f799a..1cb2f035a6b 100644
--- a/test/automated/f90.el
+++ b/test/automated/f90.el
@@ -173,4 +173,20 @@ end program prog")
173 (f90-indent-subprogram) 173 (f90-indent-subprogram)
174 (should (= 0 (current-indentation))))) 174 (should (= 0 (current-indentation)))))
175 175
176(ert-deftest f90-test-bug-19809 ()
177 "Test for http://debbugs.gnu.org/19809 ."
178 (with-temp-buffer
179 (f90-mode)
180 ;; The Fortran standard says that continued strings should have
181 ;; '&' at the start of continuation lines, but it seems gfortran
182 ;; allows them to be absent (albeit with a warning).
183 (insert "program prog
184 write (*,*), '&
185end program prog'
186end program prog")
187 (goto-char (point-min))
188 (f90-end-of-subprogram)
189 (should (= (point) (point-max)))))
190
191
176;;; f90.el ends here 192;;; f90.el ends here