Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
index 10c2d040e84..a921e2bff3f 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
@@ -3890,4 +3890,17 @@ public class CodeFormatterTest extends BaseUITestCase {
DefaultCodeFormatterConstants.NEXT_LINE);
assertFormatterResult();
}
+
+ //#define START_SECTION() do { int a = 0; } while (0)
+ //void code() {
+ // START_SECTION();
+ //}
+
+ //#define START_SECTION() do { int a = 0; } while (0)
+ //void code() {
+ // START_SECTION();
+ //}
+ public void testFormmatterWithMacroFuncStyle_Bug475349() throws Exception {
+ assertFormatterResult();
+ }
}

Back to the top