summaryrefslogtreecommitdiff
path: root/Examples/test-suite/d/li_boost_shared_ptr_bits_runme.1.d
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/d/li_boost_shared_ptr_bits_runme.1.d')
-rw-r--r--Examples/test-suite/d/li_boost_shared_ptr_bits_runme.1.d21
1 files changed, 0 insertions, 21 deletions
diff --git a/Examples/test-suite/d/li_boost_shared_ptr_bits_runme.1.d b/Examples/test-suite/d/li_boost_shared_ptr_bits_runme.1.d
deleted file mode 100644
index 098570b95..000000000
--- a/Examples/test-suite/d/li_boost_shared_ptr_bits_runme.1.d
+++ /dev/null
@@ -1,21 +0,0 @@
-module li_boost_shared_ptr_runme_bits;
-
-import li_boost_shared_ptr_bits.li_boost_shared_ptr_bits;
-import li_boost_shared_ptr_bits.HiddenDestructor;
-import li_boost_shared_ptr_bits.IntHolder;
-import li_boost_shared_ptr_bits.VectorIntHolder;
-
-void main() {
- auto v = new VectorIntHolder();
- v ~= new IntHolder(11);
- v ~= new IntHolder(22);
- v ~= new IntHolder(33);
-
- if (sum(v) != 66) {
- throw new Exception("sum is wrong");
- }
-
- {
- scope hidden = HiddenDestructor.create();
- }
-}