Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Felber2014-01-29 17:29:26 +0000
committerThomas Corbat2014-01-30 10:18:32 +0000
commit2e2e1763bde6bb76a5fd96dcd25eb1d0b5736a86 (patch)
treebc26fb8e02ca25ba79ff7c7639cdd3e40cc27d8b /core/org.eclipse.cdt.core.tests/resources
parent99de8fdda101bdceb0da2567ba83e816d3cec0ce (diff)
downloadorg.eclipse.cdt-2e2e1763bde6bb76a5fd96dcd25eb1d0b5736a86.tar.gz
org.eclipse.cdt-2e2e1763bde6bb76a5fd96dcd25eb1d0b5736a86.tar.xz
org.eclipse.cdt-2e2e1763bde6bb76a5fd96dcd25eb1d0b5736a86.zip
Bug 426888 -fixed comment assignment bug.
Change-Id: I3fb9b68c6c543c09ee9c7d546a2c61086f808a44 Signed-off-by: Lukas Felber <l.felber@gmx.ch> Reviewed-on: https://git.eclipse.org/r/21307 Reviewed-by: Thomas Corbat <tcorbat@hsr.ch> IP-Clean: Thomas Corbat <tcorbat@hsr.ch> Tested-by: Thomas Corbat <tcorbat@hsr.ch>
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/resources')
-rw-r--r--core/org.eclipse.cdt.core.tests/resources/rewrite/CommentHandlingTestSource.rts18
1 files changed, 17 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core.tests/resources/rewrite/CommentHandlingTestSource.rts b/core/org.eclipse.cdt.core.tests/resources/rewrite/CommentHandlingTestSource.rts
index c89f4945db9..7addf4d1e0c 100644
--- a/core/org.eclipse.cdt.core.tests/resources/rewrite/CommentHandlingTestSource.rts
+++ b/core/org.eclipse.cdt.core.tests/resources/rewrite/CommentHandlingTestSource.rts
@@ -3198,4 +3198,20 @@ void foo();
//=
=>leading
=>trailing
-=>freestanding \ No newline at end of file
+=>freestanding
+//!CommentRecognition comment in empty compound statement width include guard
+//#org.eclipse.cdt.core.parser.tests.rewrite.comenthandler.CommentHandlingTest
+//@A.h
+#ifndef A_H_
+#define A_H_
+void foo() {
+ // comment in body
+}
+#endif
+//=
+=>leading
+=>trailing
+=>freestanding
+{
+ // comment in body
+} = // comment in body

Back to the top