Debian Codegraph @

gcc/testsuite/g++.dg/init/new3.C

raw
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
8 void foo() {}