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, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test20515.d
blob
cf4bbde58d93b27604ee81c2b2108f24f9568ace
1
// REQUIRED_ARGS: -verror-style=gnu
2
/*
3
TEST_OUTPUT:
4
---
5
fail_compilation/test20515.d:16: Deprecation: function `test20515.foo` is deprecated
6
fail_compilation/test20515.d:17: Error: undefined identifier `bar`
7
---
8
*/
9
10
module
test20515
;
11
12
deprecated void
foo
() { }
13
14
void
test
()
15
{
16
foo
;
17
bar
;
18
}