blob: 6071604d0d6f796b2e7a56836633e2f3a26577ec (
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
30
31
32
33
34
35
36
37
38
39
|
class TemplatedClass(T) {}
class TemplatedClass2(T, U) {}
class Axxxxxxxxxxxxxxxx {
alias A = int *;
void f()
{
}
}
class C
{
//--------------| <= (1) - non first col comment -> indent
Axxxxxxxxxxxxxxxx.A createAssignment()
{
return(null);
}
void func2(Axxxxxxxxxxxxxxxx[] container)
{
foreach (v; container)
{
v.f();
}
}
// | <= (2)
void func3(TemplatedClass!int aValue)
{
}
void func4(TemplatedClass2!(int, int) b)
{
}
}
int main()
{
return 0;
}
|