repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb2.C
blob
e40afbec210b82259d0d9557588ef42aa92c5dcd
1
// { dg-do assemble }
2
typedef __SIZE_TYPE__ size_t;
3
inline void *operator new(size_t, void *place) throw() { return place; }
4
5
struct A
6
{
7
A();
8
~A();
9
};
10
11
void testfunc( void )
12
{
13
A* mybuf;
14
A v[1];
15
16
new (mybuf) A();
17
}