blob: f4894ee7ba3237806d1ea1677dc6d80db56cbc0b [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){}
}