summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30907-Issue_1813.cpp
blob: d5a3cc71d93f6c7554510e7cb62f333be5f1988f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
      });
   }
}
}