mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
25 lines
353 B
D
25 lines
353 B
D
// PERMUTE_ARGS: -inline -g -debug -unittest
|
|
// EXTRA_FILES: imports/std15021conv.d
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
hit!
|
|
---
|
|
*/
|
|
|
|
import imports.std15021conv;
|
|
|
|
class AliasDecl {}
|
|
|
|
void aliasDecl(AliasDecl ad)
|
|
{
|
|
AliasDecl* zis = &ad;
|
|
|
|
static if (is(typeof(to!string(*zis))))
|
|
{
|
|
pragma(msg, "hit!");
|
|
to!string(*zis);
|
|
}
|
|
}
|
|
|
|
void main() {}
|