diff options
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.cpp | 29 |
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; + }); + } +} +} |