2 extern(C) int printf(const char*, ...);
4 /***********************/
11 /***********************/
16 scope o1 = new Object(); // on stack
17 scope o2 = new class Object {}; // on stack
20 scope fp = (){ n = 10; }; // no closure
25 /***********************/
28 __gshared int[1] data12642;
30 int[1] foo12642() @nogc
36 void test12642() @nogc
46 /***********************/
49 void test12936() @nogc
51 foreach (int[1] a; [[1]])
55 foreach (i, int[1] a; [[1], [2]])
57 if (i == 0) assert(a == [1]);
58 else if (i == 1) assert(a == [2]);
63 /***********************/