Sign in
llvm
/
llvm-archive
/
2daab64c45d5de588f673052552a44992cfe1157
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
init
/
new3.C
blob: d0eab73cf5a3720e551f19023570a48c5e453687 [
file
] [
log
] [
blame
]
// Test that new-expressions at file scope work properly.
struct
A
{
static
char
*
p
;
};
int
i
=
1
;
char
*
A
::
p
=
new
char
[
i
];
void
foo
()
{}