| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/ice15092.d(13): Error: struct `ice15092.A.S` conflicts with struct `ice15092.A.S` at fail_compilation/ice15092.d(12) |
| 5 |
fail_compilation/ice15092.d(16): Error: class `ice15092.A.C` conflicts with class `ice15092.A.C` at fail_compilation/ice15092.d(15) |
| 6 |
fail_compilation/ice15092.d(19): Error: interface `ice15092.A.I` conflicts with interface `ice15092.A.I` at fail_compilation/ice15092.d(18) |
| 7 |
--- |
| 8 |
*/ |
| 9 |
|
| 10 |
class A |
| 11 |
{ |
| 12 |
struct S {} |
| 13 |
struct S {} |
| 14 |
|
| 15 |
class C {} |
| 16 |
class C {} |
| 17 |
|
| 18 |
interface I {} |
| 19 |
interface I {} |
| 20 |
} |