Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail299.d
blob: ffe506792829a105c5c305b03e8c5b5d49781fe5 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail299.d(14): Error: more initializers than fields (0) of `Foo`
---
*/
struct
Foo
{}
void
foo
(
Foo
b
,
void
delegate
())
{}
void
main
()
{
foo
(
Foo
(
1
),
(){});
}