Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail10082.d
blob: fd3080109d44b6b98689365782198ea500f9fae4 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail10082.d(24): Error: cannot infer type from overloaded function symbol &foo
---
*/
mixin
template
T
()
{
int
foo
()
{
return
0
;
}
}
class
A
{
mixin T
;
mixin T
;
}
void
main
()
{
auto
x
=
&
A
.
foo
;
}