summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30281-Issue_2478.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30281-Issue_2478.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30281-Issue_2478.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30281-Issue_2478.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30281-Issue_2478.cpp
new file mode 100644
index 00000000..40674590
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30281-Issue_2478.cpp
@@ -0,0 +1,41 @@
+//example file
+typedef int X35GlobalT1;
+typedef int X35T2;
+
+void fooX35a()
+{
+ ::X35GlobalT1 a1;
+ X35T2 a2;
+
+ ::X35GlobalT1 a3 = 1;
+ X35T2 a4 = 1;
+}
+
+void fooX35b()
+{
+ X35GlobalT1 a1;
+ X35T2 a2;
+
+ X35GlobalT1 a3 = 1;
+ X35T2 a4 = 1;
+}
+
+class X35_1a
+{
+private:
+::X35GlobalT1 a1;
+X35T2 a2;
+
+::X35GlobalT1 a3 = 1;
+X35T2 a4 = 1;
+};
+
+class X35_1b
+{
+private:
+X35GlobalT1 a1;
+X35T2 a2;
+
+X35GlobalT1 a3 = 1;
+X35T2 a4 = 1;
+};