From: Nick Drozd Date: Wed, 17 Jul 2019 14:07:26 +0000 (+0000) Subject: * test/lisp/progmodes/cc-mode-tests.el: Add a test with /***/ in #define lines X-Git-Tag: emacs-27.0.90~1870 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8bf7255f3fbffe3293a2ed0e4ef7cc8c664d183;p=emacs.git * test/lisp/progmodes/cc-mode-tests.el: Add a test with /***/ in #define lines --- diff --git a/test/lisp/progmodes/cc-mode-tests.el b/test/lisp/progmodes/cc-mode-tests.el index 0b8f37dbbf5..c10105fffcb 100644 --- a/test/lisp/progmodes/cc-mode-tests.el +++ b/test/lisp/progmodes/cc-mode-tests.el @@ -69,4 +69,13 @@ "struct template {" "#include "))))) +(ert-deftest c-mode-macro-comment () + "Test for bug#36484." + (dolist (macro-string '("#define /***/f" + "#define x /***/5" + "#define a(x)get/***/x/***/id())")) + (with-temp-buffer + (insert macro-string) + (c-mode)))) + ;;; cc-mode-tests.el ends here