6 fail_compilation/failattr.d(103): Error: variable `failattr.C2901.v1` cannot be `synchronized`
7 fail_compilation/failattr.d(104): Error: variable `failattr.C2901.v2` cannot be `override`
8 fail_compilation/failattr.d(105): Error: variable `failattr.C2901.v3` cannot be `abstract`
9 fail_compilation/failattr.d(106): Error: variable `failattr.C2901.v4` cannot be `final`, perhaps you meant `const`?
10 fail_compilation/failattr.d(118): Error: variable `failattr.C2901.v13` cannot be `final abstract synchronized override`
11 fail_compilation/failattr.d(120): Error: variable `failattr.C2901.v14` cannot be `final`, perhaps you meant `const`?
12 fail_compilation/failattr.d(123): Error: undefined identifier `ERROR`
19 synchronized int v1
; // error
20 override int v2
; // error
21 abstract int v3
; // error
22 final int v4
; // error
24 synchronized { int v5
; } // no error
25 override { int v6
; } // no error
26 abstract { int v7
; } // no error
27 final { int v8
; } // no error
29 synchronized: int v9
; // no error
30 override: int v10
; // no error
31 abstract: int v11
; // no error
32 final: int v12
; // no error
34 synchronized override abstract final int v13
; // one line error
36 static final int v14
; // error, even if static is applied at the same time
39 enum B23122
{ @ERROR e
}