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
* loop.c (loop_optimize): Always find_loop_tree_blocks and
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
debug6.C
blob
43f13b936b3a1741eb91fb0795318cbcf2cbdbcf
1
// Build don't link:
2
// Special g++ 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
}