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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail316.d
blob
ab4077cd2ff129e4250b286267c6d9922d3bab0b
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail316.d(17): Error: mixin `fail316.foo.BadImpl!(uint, Mix1)` cannot resolve forward reference
5
---
6
*/
7
template
BadImpl
(
T
,
alias
thename
)
8
{
9
void
a_bad_idea
(
T t
)
10
{
11
thename
.
a_bad_idea
(
t
);
12
}
13
}
14
15
class
foo
16
{
17
mixin
BadImpl
!(
uint
,
Mix1
)
Mix1
;
18
}
19
20
int
main
()
21
{
22
return
0
;
23
}