Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice11726.d
blob: e9d98c5f095cdffe52f45506e47d5fb003062965 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/ice11726.d(16): Error: undefined identifier `x`
---
*/
struct
S
{
auto
opDispatch
(
string
fn
,
Args
...)(
Args
args
)
{
}
}
void
main
()
{
S
().
reserve
(
x
.
foo
());
}