mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
150 B
C++
16 lines
150 B
C++
#include "nscore.h"
|
|
#include NEW_H
|
|
|
|
struct NS_STACK_CLASS A
|
|
{
|
|
int i;
|
|
};
|
|
|
|
int Foo()
|
|
{
|
|
char buf[sizeof(A)];
|
|
|
|
A *a = new(&buf) A;
|
|
return a->i;
|
|
}
|