summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/imports/imp21832.d
blob: ee4a1d6296d4bba1f237f9c941b4169cae65f8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module imports.imp21832;
static if(1)
{
    int fun(int a)
    {
        return a;
    }
    int tpl()(int a)
    {
        return a;
    }
}

deprecated
{
    int fun(char a)
    {
        return a;
    }
    int tpl()(char a)
    {
        return a;
    }
}