OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
debug6.C
1
// { dg-do assemble }
2
// { dg-options "-g -O2" }
3
4
// Copyright (C) 1999 Free Software Foundation, Inc.
5
// Contributed by Nathan Sidwell 21 Nov 1999 <nathan@acm.org>
6
7
// This causes assember relocation errors
8
9
struct X
10
{
11
virtual ~X () {}
12
};
13
14
struct Y
15
{
16
Y (){};
17
};
18
19
void foo ()
20
{
21
X *x = new X;
22
x->~X ();
23
Y ys[2];
24
}