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
/
ice9406.d
blob
c1807a0f542c2520ed5b5163a5bbc9f8405eab57
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/ice9406.d(22): Error: `s1.mixin Mixin!() t1;
5
` has no effect
6
---
7
*/
8
9
mixin template
Mixin
() { }
10
11
struct
S
12
{
13
template
t1
()
14
{
15
mixin
Mixin t1
;
16
}
17
}
18
19
void
main
()
20
{
21
S s1
;
22
s1
.
t1
!();
23
}