summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/runnable/imports/b11447.d
blob: f510d096839fc5cdcbd4523a4741683fe31d08d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module imports.b11447;
class A {}

void map(alias dg)(int b) { }

auto aaa(A a)
{
    int bs;

    static A ggg;

    bs.map!(
        b => (a is ggg ? "a" : "b")
    );
}