comparison tests/parser/array_literal_1.d @ 185:7b274cfdc1dc

Added support for array literals. Codegen is broken, though.
author Anders Johnsen <skabet@gmail.com>
date Fri, 25 Jul 2008 12:18:05 +0200
parents
children
comparison
equal deleted inserted replaced
184:86a2ede00e9a 185:7b274cfdc1dc
1
2 int main()
3 {
4 int[3] x = [1,2,3];
5 return x[0];
6 }