Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail10082.d
blob: 8a3d2fbf5662714f769dda84c11937c04fa20eaf [
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
;
}