Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test21832.d

raw
1 // REQUIRED_ARGS: -de
2 // EXTRA_FILES: imports/imp21832.d
3 int test21832a()
4 {
5 import imports.imp21832 : fun; // function 'fun' is deprecated
6 return fun(0);
7 }
8
9 int test21832b()
10 {
11 import imports.imp21832 : tpl; // template 'tpl' is deprecated
12 return tpl(0);
13 }