repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test21832.d
blob
e034f2ce07d8c5cd8301ca0b4e2e1a027ba48869
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
}