Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail194.d
blob: f2270f11012601eb655411cfa4a90d7502e0c30f [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail194.d(18): Error: function `& foo` is overloaded
---
*/
import
core
.
vararg
;
void
bar
(
int
i
,
...)
{
}
void
foo
()
{
}
void
foo
(
int
)
{
}
void
main
()
{
//bar(1, cast(void function())&foo);
bar
(
1
,
&
foo
);
}