Skip to content

Commit

Permalink
document unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Cauterite authored Jul 26, 2016
1 parent 52110d9 commit e50b77f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/typecons.d
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ private:
assert(!uf2.isEmpty);
}

unittest
// ensure Unique behaves correctly through const access paths
@system unittest
{
struct Bar {int val;}
struct Foo
Expand Down

0 comments on commit e50b77f

Please sign in to comment.