blob: ec22d2e0e408c3e8c07a61ffac7032da25452177 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail264.d(10): Error: undefined identifier `undef`
---
*/
void main()
{
foreach (element; undef)
{
fn(element);
}
}
void fn(int i) {}