1 // Test that new-expressions at file scope work properly. 2 3 struct A { static char* p; }; 4 5 int i = 1; 6 char* A::p = new char[i]; 7 foo()8 void foo() {} 9