aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/progmodes/cc-mode-tests.el9
1 files changed, 9 insertions, 0 deletions
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 @@
69 "struct template {" 69 "struct template {"
70 "#include <string.h>"))))) 70 "#include <string.h>")))))
71 71
72(ert-deftest c-mode-macro-comment ()
73 "Test for bug#36484."
74 (dolist (macro-string '("#define /***/f"
75 "#define x /***/5"
76 "#define a(x)get/***/x/***/id())"))
77 (with-temp-buffer
78 (insert macro-string)
79 (c-mode))))
80
72;;; cc-mode-tests.el ends here 81;;; cc-mode-tests.el ends here