projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b1495
)
* test/lisp/progmodes/cc-mode-tests.el: Add a test with /***/ in #define lines
author
Nick Drozd
<nicholasdrozd@gmail.com>
Wed, 17 Jul 2019 14:07:26 +0000
(14:07 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Wed, 17 Jul 2019 14:07:26 +0000
(14:07 +0000)
test/lisp/progmodes/cc-mode-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/progmodes/cc-mode-tests.el
b/test/lisp/progmodes/cc-mode-tests.el
index 0b8f37dbbf54f8ba8042092cd6f652198da4d44a..c10105fffcb78b762a352a83f015f34d06e60abc 100644
(file)
--- a/
test/lisp/progmodes/cc-mode-tests.el
+++ b/
test/lisp/progmodes/cc-mode-tests.el
@@
-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