summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30907-Issue_1813.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30907-Issue_1813.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30907-Issue_1813.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30907-Issue_1813.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30907-Issue_1813.cpp
new file mode 100644
index 00000000..d5a3cc71
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30907-Issue_1813.cpp
@@ -0,0 +1,29 @@
+namespace ns1
+{
+namespace ns2
+{
+ void func0()
+ {
+ functionThatTakesALambda( [&] () -> void
+ {
+ lambdaBody;
+ });
+ functionThatTakesALambda( [&] __device__ () -> void
+ {
+ lambdaBody;
+ });
+ functionThatTakesALambda( [&] __host__ __device__ () -> void
+ {
+ lambdaBody;
+ });
+ functionThatTakesALambda( [&] DEVICE_LAMBDA_CONTEXT () -> void
+ {
+ lambdaBody;
+ });
+ functionThatTakesALambda( [&] HOST_DEVICE_LAMBDA_CONTEXT () -> void
+ {
+ lambdaBody;
+ });
+ }
+}
+}