summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/templates2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/templates2.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/templates2.cpp54
1 files changed, 54 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/templates2.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/templates2.cpp
new file mode 100644
index 00000000..46d41560
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/templates2.cpp
@@ -0,0 +1,54 @@
+void f()
+{
+call_a_function(42,
+double(-1),
+"charray");
+call_a_function(42,
+double(-1),
+"charray"
+);
+call_a_function(
+42,
+double(-1),
+"charray"
+);
+call_a_template_function<int,
+int,
+int>
+(42);
+call_a_template_function<int,
+int,
+int
+>
+(42);
+call_a_template_function<int,
+int,
+int>(42);
+call_a_template_function<int,
+int,
+int>(
+42
+);
+call_a_template_function<
+int,
+int,
+int
+>
+(42);
+}
+template<class T,
+class U>
+class W;
+template<class T,
+class U
+>
+class X;
+template<
+class T,
+class U>
+class Y;
+template<
+class T,
+class U
+>
+class Z;