#include <builtins.swift>

// Regression test for compiler bug with
// lvalue/rvalue nested array lookups


main {
    int A[][];
    int i = f(1), j = f(1);
    trace(A[i][j]);
    A[i][j] = 2;
}


(int o) f (int i) {
    o = i;
}

Add regression test for compiler bug with creating/non-creating nested array lookup
Add regression test for compiler bug with creating/non-creating nested array lookup

git-svn-id: 47705994653588c662f4ea400dfe88107361c0e2@6512 dc4e9af1-7f46-4ead-bba6-71afc04862de
