fork download
  1. struct K7427
  2. {
  3. this(this) {}
  4. }
  5.  
  6. struct S7427
  7. {
  8. K7427 x;
  9. void opAssign()(K7427 y)
  10. {
  11. x = y;
  12. }
  13. alias x this;
  14. }
  15.  
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.d: Error: function prog.S7427.opAssign conflicts with template prog.S7427.opAssign() at prog.d(9)
stdout
Standard output is empty