Source

gdc / gdc.test / fail_compilation / fail4.d

Daniel Green b6fdbee 






1
2
3
4
5
6
7
8
// REQUIRED_ARGS: -d
// On DMD0.165 fails only with typedef, not alias

typedef foo bar;
typedef bar foo;

// fail\fail4.d(2): typedef fail4.foo circular definition