mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 19:37:58 +00:00
* test/lisp/progmodes/cc-mode-tests.el: Add a test with /***/ in #define lines
This commit is contained in:
parent
87b1495f30
commit
b8bf7255f3
1 changed files with 9 additions and 0 deletions
|
|
@ -69,4 +69,13 @@
|
|||
"struct template {"
|
||||
"#include <string.h>")))))
|
||||
|
||||
(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
|
||||
|
|
|
|||
Loading…
Reference in a new issue