mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
20 lines
334 B
D
20 lines
334 B
D
// COMPILE_SEPARATELY:
|
|
// EXTRA_SOURCES: imports/link7745b.d
|
|
// PERMUTE_ARGS:
|
|
|
|
import imports.link7745b;
|
|
|
|
bool forceSemantic7745()
|
|
{
|
|
C c;
|
|
c.asdfg();
|
|
return true;
|
|
}
|
|
static assert(forceSemantic7745());
|
|
|
|
void f(C c) { auto x = &c.asdfg; }
|
|
|
|
void main() {
|
|
// https://issues.dlang.org/show_bug.cgi?id=4820
|
|
nextis!(int)();
|
|
}
|