aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2015-11-01 18:25:42 -0800
committerGlenn Morris2015-11-01 18:25:42 -0800
commitff80687aee5da42ff151df4e68f8dbcd2f8b2be3 (patch)
tree4b0a7e9053e3c69053a27e7e78094b052cb4e69a /test
parent3a769e173ebaaff768497dae9c430ac03aedeb94 (diff)
downloademacs-ff80687aee5da42ff151df4e68f8dbcd2f8b2be3.tar.gz
emacs-ff80687aee5da42ff151df4e68f8dbcd2f8b2be3.zip
* lisp/progmodes/f90.el (f90-no-block-limit):
Add associate. (Bug#21794) * test/automated/f90.el (f90-test-bug21794): New test.
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