From ff80687aee5da42ff151df4e68f8dbcd2f8b2be3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 1 Nov 2015 18:25:42 -0800 Subject: * lisp/progmodes/f90.el (f90-no-block-limit): Add associate. (Bug#21794) * test/automated/f90.el (f90-test-bug21794): New test. --- test/automated/f90.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test') diff --git a/test/automated/f90.el b/test/automated/f90.el index c521d289a5d..e429b21c092 100644 --- a/test/automated/f90.el +++ b/test/automated/f90.el @@ -240,4 +240,19 @@ end module modname") (forward-line -1) (should (= 2 (current-indentation))))) +(ert-deftest f90-test-bug21794 () + "Test for http://debbugs.gnu.org/21794 ." + (with-temp-buffer + (f90-mode) + (insert "program prog +do i=1,10 +associate (x => xa(i), y => ya(i)) +a(x,y,i) = fun(x,y,i) +end associate +end do +end program prog") + (f90-indent-subprogram) + (forward-line -2) + (should (= 5 (current-indentation))))) + ;;; f90.el ends here -- cgit v1.2.1