blob: 466b2e0449f4daeba7a34818c6102959b89ece8b [file] [log] [blame]
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
class Foo
{
void foo()
{
foreach (f; __traits(getOverloads, typeof(this), "bar"))
{
auto dg = &f;
}
foreach (f; __traits(getVirtualMethods, typeof(this), "bar"))
{
auto dg = &f;
}
foreach (f; __traits(getVirtualFunctions, typeof(this), "bar"))
{
auto dg = &f;
}
}
uint bar() { return 0; }
}