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
/
gag4269d.d
blob
bdfabaecc9e72c10bc4045fa372fce2150a5a170
1
// REQUIRED_ARGS: -c -o-
2
/*
3
TEST_OUTPUT:
4
---
5
fail_compilation/gag4269d.d(10): Error: undefined identifier `Y4`, did you mean function `X4`?
6
---
7
*/
8
9
static if
(
is
(
typeof
(
X4
.
init
))) {}
10
Y4
X4
() {
return typeof
(
return
).
init
; }