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