Summary: Structs with disabled default constructors can be
                    constructed without calling a constructor.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Simen Kjaeraas <> 2011-11-27 13:23:25 
PST ---
struct Foo {
    @disable this();

void main() {
    auto foo = Foo();

The above code compiles and runs just fine on dmd 2.056.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to