gcc/testsuite/gdc.test/compilable/test1170.d
raw| 1 | // https://issues.dlang.org/show_bug.cgi?id=1170 |
| 2 | type x; |
| 3 | mixin("alias int type;"); |
| 4 | |
| 5 | // https://issues.dlang.org/show_bug.cgi?id=10739 |
| 6 | template DECLARE_HANDLE() { |
| 7 | struct HINTERNET { int h; } |
| 8 | } |
| 9 | const INTERNET_INVALID_STATUS_CALLBACK = cast(INTERNET_STATUS_CALLBACK) -1; |
| 10 | mixin DECLARE_HANDLE; |
| 11 | alias void function(HINTERNET) INTERNET_STATUS_CALLBACK; |