aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/automated/f90.el15
1 files changed, 15 insertions, 0 deletions
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")
240 (forward-line -1) 240 (forward-line -1)
241 (should (= 2 (current-indentation))))) 241 (should (= 2 (current-indentation)))))
242 242
243(ert-deftest f90-test-bug21794 ()
244 "Test for http://debbugs.gnu.org/21794 ."
245 (with-temp-buffer
246 (f90-mode)
247 (insert "program prog
248do i=1,10
249associate (x => xa(i), y => ya(i))
250a(x,y,i) = fun(x,y,i)
251end associate
252end do
253end program prog")
254 (f90-indent-subprogram)
255 (forward-line -2)
256 (should (= 5 (current-indentation)))))
257
243;;; f90.el ends here 258;;; f90.el ends here