summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3054.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3054.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3054.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3054.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3054.cpp
new file mode 100644
index 00000000..2d8b38d0
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_3054.cpp
@@ -0,0 +1,7 @@
+void func()
+{
+ parallel_for(0, 100, [ & ] ( const int i ) {
+ const std::vector<int> values = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 };
+ return values[i];
+ });
+}