blob: 8f39ccc51eb257536adee2dc0905567847347311 [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=11038
/*
TEST_OUTPUT:
---
fail_compilation/fail11038.d(16): Error: `writeln` is not defined, perhaps `import std.stdio;` is needed?
---
*/
static
{
import std.stdio;
}
void main()
{
writeln("foo"); // compiles
}