Bug 14165 – Link failure on class declaration with @disable this();
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-10T13:02:00Z
Last change time
2015-02-21T09:11:18Z
Keywords
link-failure, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2015-02-10T13:02:54Z
Spin-off from https://issues.dlang.org/show_bug.cgi?id=14163
class Foo {
@disable this();
this(int i) {}
}
void main() {}
$ dmd test
DMD v2.067 DEBUG
OPTLINK (R) for Win32 Release 8.00.15
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
test.obj(test)
Error 42: Symbol Undefined _D4test3Foo6__ctorMFZC4test3Foo
--- errorlevel 1