--- /dev/null
+--TEST--
+Exception for multiline array with undefined variable
+--TEMPLATE--
+{% set foo = {
+ foo: 'foo',
+ bar: 'bar',
+
+
+ foobar: foobar,
+
+
+
+ foo2: foo2,
+} %}
+--DATA--
+return array()
+--EXCEPTION--
+Twig_Error_Runtime: Variable "foobar" does not exist in "index.twig" at line 7.