* test/lisp/progmodes/cc-mode-tests.el: Add a test with /***/ in #define lines
This commit is contained in:
committed by
Alan Mackenzie
parent
87b1495f30
commit
b8bf7255f3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user