mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
210 B
D
12 lines
210 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/class1.d(11): Error: class `class1.C` identity assignment operator overload is illegal
|
|
---
|
|
*/
|
|
|
|
class C
|
|
{
|
|
// Non-templated identity opAssign
|
|
void opAssign(C rhs){}
|
|
}
|