aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test10992b.d
blob: 67c7d41d71c7d0d1a73d41b2245f8b3e5ddd56be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PERMUTE_ARGS:
// REQUIRED_ARGS: -unittest

version(none)
{}
else
{
    unittest { }
    unittest { }
    unittest { }
}

void main()
{
    static assert(__traits(getUnitTests, mixin(__MODULE__)).length == 3);
}