module correct;
dafaenfai;
int[] g;

struct Foo {
    int a;

    void b() {

    }

    struct Bar {
        int c;
    }
}

/**
 * Params:
 *      x = something cool
 */
int foo(int x) {
    int a = 0;

    if (a == 1) {
        int b, c, d;
    }

    for (int i = 0; i < 10; ++i) {
        int e;
        int j;

        e = 7;
    }

    while (0) {
        int f = 5;
    }

    foreach(k; 0..3) {
        int g;

        g = 2;
    }

    int z = a;

    return 0;
}

int main(string[] args) {
    int y = 0;
    int x = 1;
    int xx = 2;
    int yy = 0;
    int k = xx;

    return 0;
}

int bar() {return 0;}
