d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail17492.d
blob7236c22a8bcf5c39dcbc4736555283649301775f
1 /*
2 REQUIRED_ARGS: -de
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail17492.d(20): Error: function `fail17492.C.testE()` conflicts with previous declaration at fail_compilation/fail17492.d(13)
6 fail_compilation/fail17492.d(37): Error: function `fail17492.S.testE()` conflicts with previous declaration at fail_compilation/fail17492.d(30)
7 ---
8 https://issues.dlang.org/show_bug.cgi?id=17492
9 */
11 class C
13 void testE()
15 class I
20 void testE()
22 class I
28 class S
30 void testE()
32 struct I
37 void testE()
39 struct I