(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
fail_compilation/
fail19744.d
/*
TEST_OUTPUT:
---
fail_compilation/fail19744.d(8): Error: top-level function `test` has no `this` to which `return` can apply
---
*/

int* test(return scope int* n) return
{
    return n;
}