Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail15.d
blob: 564ddda7eecca6bbef642a9d45d9993bea7671f7 [
file
] [
log
] [
blame
]
/*
Segfault on DMD 0.095
http://www.digitalmars.com/d/archives/digitalmars/D/bugs/926.html
*/
module
test
;
template
Test
()
{
bool
opIndex
(
bool
x
)
{
return
!
x
;
}
}
void
main
()
{
mixin
Test
!()
xs
;
bool
x
=
xs
[
false
];
}