1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag4528.d(14): Error: function diag4528.Foo.pva private functions cannot be abstract
5 fail_compilation/diag4528.d(15): Error: function diag4528.Foo.pka package functions cannot be abstract
6 fail_compilation/diag4528.d(16): Error: function diag4528.Foo.pvsa static functions cannot be abstract
7 fail_compilation/diag4528.d(17): Error: function diag4528.Foo.pksa static functions cannot be abstract
8 fail_compilation/diag4528.d(18): Error: function diag4528.Foo.pbsa static functions cannot be abstract
9 ---
10 */
11 
12 class Foo
13 {
14     private abstract void pva();
15     package abstract void pka();
16     private static abstract void pvsa();
17     package static abstract void pksa();
18     public static abstract void pbsa();
19 }
20