ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gdc.test/runnable/link8023.d

20 lines
228 B
D

// COMPILE_SEPARATELY
// EXTRA_SOURCES: imports/link8023b.d
// PERMUTE_ARGS: -inline -release
import imports.link8023b;
private void t(alias Code)()
{
return Code();
}
void f()
{
t!( () { } )();
}
void main() {
f();
}