Skip to content

Commit

Permalink
fix Issue 15760 - Segfault when compiling when using __gshared and se…
Browse files Browse the repository at this point in the history
…lective import
  • Loading branch information
9rnsr committed Mar 24, 2016
1 parent fc3beb0 commit ec22537
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/compilable/ice15760.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// PERMUTE_ARGS:
// EXTRA_SOURCES: imports/a15760.d

module ice15760;

import imports.a15760 : Foo;

struct Bar
{
__gshared Foo foo;
}
8 changes: 8 additions & 0 deletions test/compilable/imports/a15760.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module imports.a15760;

import ice15760;

struct Foo
{
Bar a;
}

0 comments on commit ec22537

Please sign in to comment.