blob: 7236c22a8bcf5c39dcbc4736555283649301775f [file] [log] [blame]
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/fail17492.d(20): Error: function `fail17492.C.testE()` conflicts with previous declaration at fail_compilation/fail17492.d(13)
fail_compilation/fail17492.d(37): Error: function `fail17492.S.testE()` conflicts with previous declaration at fail_compilation/fail17492.d(30)
---
https://issues.dlang.org/show_bug.cgi?id=17492
*/
class C
{
void testE()
{
class I
{
}
}
void testE()
{
class I
{
}
}
}
class S
{
void testE()
{
struct I
{
}
}
void testE()
{
struct I
{
}
}
}