diff options
Diffstat (limited to 'Examples/test-suite/d/default_constructor_runme.1.d')
-rw-r--r-- | Examples/test-suite/d/default_constructor_runme.1.d | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Examples/test-suite/d/default_constructor_runme.1.d b/Examples/test-suite/d/default_constructor_runme.1.d deleted file mode 100644 index bd79cdf99..000000000 --- a/Examples/test-suite/d/default_constructor_runme.1.d +++ /dev/null @@ -1,17 +0,0 @@ -module default_constructor_runme; - -import default_constructor.G; - -void main() { - // Protected destructor test. - try { - { - scope g = new G(); - } - throw new Exception("Protected destructor exception should have been thrown"); - } catch (Exception e) { - if (e.msg != "C++ destructor does not have public access") { - throw e; - } - } -} |