[Issue 14165] New: Link failure on class declaration with @disable this();
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Feb 10 05:02:54 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14165
Issue ID: 14165
Summary: Link failure on class declaration with @disable
this();
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: link-failure
Severity: major
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
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
--
More information about the Digitalmars-d-bugs
mailing list