1 // EXTRA_SOURCES: extra-files/ddoc198.ddoc 2 // PERMUTE_ARGS: 3 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- 4 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 5 6 module ddoc198; 7 8 /// 9 interface I1 { } 10 11 /// 12 class C1 { } 13 14 /// 15 class Foo : C1, I1 { } 16 17 /// 18 enum X { x = 1 } 19 20 /// 21 enum Y : X { y = X.x } 22 23 /// 24 struct S1 { } 25 26 /// 27 enum enS : S1 { a = S1() } 28 29 // disabled until class enums are possible 30 // enum enC : C1 { a = new C1() } 31 32 33 void main() 34 { 35 }