public class Foo extends NSArray {
def main(int argc, const char * argv) {
let bar = [[std::vector<unsigned> alloc] init];
bar.push_back((unsigned) 'q');
if (bar[0] < 40) {
bar.push_back(bar[0] * bar[0]);
} elif (Math.random() < .5) {
bar.push_back(500 | bar[0]);
}
for (unsigned i : bar) {
NSLog(@"%i", i);
}
}
}