mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
31 lines
651 B
D
31 lines
651 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail53.d(26): Error: function `object.Object.opEquals(Object o)` is not callable using argument types `(int)`
|
|
fail_compilation/fail53.d(26): cannot pass argument `i` of type `int` to parameter `Object o`
|
|
---
|
|
*/
|
|
|
|
// $HeadURL$
|
|
// $Date$
|
|
// $Author$
|
|
|
|
// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
|
|
// @date@ 2005-01-22
|
|
// @uri@ news:csvvet$2g4$1@digitaldaemon.com
|
|
// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2741
|
|
|
|
// __DSTRESS_ELINE__ 17
|
|
|
|
module dstress.nocompile.bug_mtype_507_A;
|
|
|
|
int main()
|
|
{
|
|
Object o;
|
|
int i;
|
|
if (i == o)
|
|
{
|
|
return -1;
|
|
}
|
|
return 0;
|
|
}
|