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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash15.C
blob
3c59fa64b43a7c718121152b3facdbe4f4fa8c16
1
// { dg-do assemble }
2
// GROUPS passed old-abort
3
#include <iostream>
4
5
class A {
6
public:
7
virtual ~A() {std::cout << "executed ~A()\n";}
8
};
9
10
class B : public A {
11
public:
12
virtual ~B() {std::cout << "executed ~B()\n";}
13
};
14
15
int
16
main() {
17
std::cout << "starting\n";
18
B b;
19
b.~A();
20
std::cout << "done\n";
21
}
22