summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/lambda_selfcalling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/lambda_selfcalling.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/lambda_selfcalling.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/lambda_selfcalling.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/lambda_selfcalling.cpp
new file mode 100644
index 00000000..543290fa
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/lambda_selfcalling.cpp
@@ -0,0 +1,12 @@
+void f(){
+ int i = 0;
+ const auto j = [](int k){
+ return k+2;
+ }
+ (i);
+
+ const auto l = ([](int k){
+ return k+2;
+ })
+ (i);
+} \ No newline at end of file