☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
init
/
new3.C
☽
☼
gcc/testsuite/g++.dg/init/new3.C
code
plain
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() {}