blob: 321ab6f1e844f7c49d2504f6d5d570764c1e79a3 (
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
|
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;
}
|