Skip to content

Commit

Permalink
Fix phobos tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atilaneves committed Oct 28, 2020
1 parent ddc5c97 commit 5b84ed8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/phobos/std_experimental/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ pragma(mangle, "_D6python4conv11python_to_d__T2toTxS3std12experimental9allocator
extern(C) void hack3() {

}


pragma(mangle, "_D6python4type__T13PythonCompareTS3std12experimental9allocator15building_blocks14allocator_list__T13AllocatorListTSQDdQDcQCr8showcase14mmapRegionListFmZ7FactoryTSQEyQExQEmQEf14null_allocator13NullAllocatorZQEe4NodeZ7_py_cmpUNbPSQIs3raw7_objectQriZQv")
private void hack4() { assert(0); }
4 changes: 4 additions & 0 deletions examples/phobos/std_file/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ void hack() {
import std.file: dirEntries, SpanMode;
auto id = typeid(dirEntries("path", "pattern", SpanMode.depth));
}


pragma(mangle, "_D6python4type__T13PythonCompareTS3std8typecons__T10RebindableTyCQBf8datetime8timezone8TimeZoneZQBuZ7_py_cmpUNbPSQEh3raw7_objectQriZQv")
private void hack1() { assert(0); }
4 changes: 4 additions & 0 deletions examples/phobos/std_net/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ enum str = wrapDlang!(

// pragma(msg, str);
mixin(str);


pragma(mangle, "_D6python4type__T13PythonCompareTS3std8typecons__T10RebindableTyCQBf8datetime8timezone8TimeZoneZQBuZ7_py_cmpUNbPSQEh3raw7_objectQriZQv")
private void hack0() { assert(0); }
4 changes: 4 additions & 0 deletions examples/phobos/std_zip/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ enum str = wrapDlang!(

// pragma(msg, str);
mixin(str);


pragma(mangle, "_D6python4type__T13PythonCompareTS3std8typecons__T10RebindableTyCQBf8datetime8timezone8TimeZoneZQBuZ7_py_cmpUNbPSQEh3raw7_objectQriZQv")
private void hack0() { assert(0); }

0 comments on commit 5b84ed8

Please sign in to comment.