blob: 1db12067d3d63502e22a20256334ac8de9e4524f [file] [log] [blame]
// REQUIRED_ARGS: -mixin=${RESULTS_DIR}/fail_compilation/mixin_test.mixin
/*
TEST_OUTPUT:
---
{{RESULTS_DIR}}/fail_compilation/mixin_test.mixin(7): Error: undefined identifier `b`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=1870
// https://issues.dlang.org/show_bug.cgi?id=12790
string get()
{
return
q{int x;
int y;
int z = x + b;};
}
void main()
{
mixin(get());
}