Skip to content

Commit

Permalink
Merge pull request #5573 from 9rnsr/fix15760
Browse files Browse the repository at this point in the history
Issue 15760 - Segfault when compiling when using __gshared and selective import
  • Loading branch information
9rnsr committed Mar 24, 2016
2 parents fc3beb0 + ec22537 commit 96aebe4
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 96aebe4

Please sign in to comment.