summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/Issue_1813.cpp
blob: 0c07555d247a95738157ff94e601c63c8f83a48f (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;
});
}
}
}