Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test7618.d
blob: c7b76944bb369162ff588bbd97cb4232ecd36f7c [
file
] [
log
] [
blame
]
interface
ITest
{
int
foo
();
final
void
bar
(
int
k
)()
{
assert
(
foo
()
==
k
);
}
}
class
Test
:
ITest
{
override
int
foo
()
{
return
12
;
}
}
void
main
()
{
auto
test
=
new
Test
;
test
.
bar
!
12
();
}