blob: a35591761a7a0d5b4d657df088260257e557ec7f [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/class2.d(11): Error: class `class2.C` identity assignment operator overload is illegal
---
*/
class C
{
// Templated identity opAssign
void opAssign(T)(T rhs){}
}