gcc/testsuite/gdc.dg/imports/gdc231.d
raw| 1 | module imports.gdc231; |
| 2 | |
| 3 | interface ImplementorIF |
| 4 | { |
| 5 | void* getImplementorStruct(); |
| 6 | void* getStruct(); |
| 7 | } |
| 8 | |
| 9 | template ImplementorT() |
| 10 | { |
| 11 | void* getImplementorStruct() |
| 12 | { |
| 13 | return null; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | class Widget231 : ImplementorIF |
| 18 | { |
| 19 | mixin ImplementorT; |
| 20 | void* getStruct() |
| 21 | { |
| 22 | return null; |
| 23 | } |
| 24 | } |