blob: 1925c174dd96bcebffdaa633e0564c230bce04f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
TEST_OUTPUT:
---
fail_compilation/ice4983.d(14): Error: circular reference to 'ice4983.Foo.dg'
---
*/
struct Foo
{
void bar()
{
}
void delegate() dg = &Foo.init.bar;
}
|