diff options
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.java | 30 |
1 files changed, 30 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 12a1d383952..4335d6d62e3 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 @@ -531,4 +531,34 @@ public class CodeFormatterTest extends BaseUITestCase { Integer.toString(Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_FORCE | Alignment.M_INDENT_BY_ONE)); assertFormatterResult(); } + + //int foo(){try{}catch(...){}} + //float* bar(); + //template<typename _CharT, typename _Traits>class basic_ios : public ios_base{public: + // // Types: + //}; + + //int + //foo() + //{ + // try + // { + // } + // catch (...) + // { + // } + //} + //float* + //bar(); + //template<typename _CharT, typename _Traits> + // class basic_ios : public ios_base + // { + // public: + // // Types: + // }; + public void testGNUCodingStyleConformance_Bug192764() throws Exception { + fOptions= DefaultCodeFormatterOptions.getGNUSettings().getMap(); + assertFormatterResult(); + } + } |