summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2186.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2186.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2186.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2186.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2186.cpp
new file mode 100644
index 00000000..c9cbacda
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2186.cpp
@@ -0,0 +1,14 @@
+using namespace std;
+
+namespace ui { class CClass; } // Expected to stay as-is
+namespace ui::dlg { class CClassDlg; } // Expected to stay as-is (new in C++17)
+
+namespace ui { // Brace should be on the next line
+class CClass1; // Should be indented
+class CClass2;
+class CClass3;
+class CClass4;
+class CClass5;
+class CClass6;
+class CClass7;
+}