summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test21832.d
blob: e034f2ce07d8c5cd8301ca0b4e2e1a027ba48869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// REQUIRED_ARGS: -de
// EXTRA_FILES: imports/imp21832.d
int test21832a()
{
    import imports.imp21832 : fun; // function 'fun' is deprecated
    return fun(0);
}

int test21832b()
{
    import imports.imp21832 : tpl; // template 'tpl' is deprecated
    return tpl(0);
}