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++.mike
/
p1248.C
blob
d54e555f3b163f692f7139e5f843f26a0fcaea9d
1
// { dg-do run }
2
// GROUPS passed pure-virt
3
extern "C" int printf (const char *, ...);
4
class Base {
5
public:
6
virtual ~Base() =0;
7
};
8
9
class Deranged : public Base {
10
public:
11
int value;
12
virtual ~Deranged();
13
};
14
15
16
Deranged::~Deranged(){}
17
18
void foo() {
19
Deranged d;
20
}
21
22
int main()
23
{
24
foo();
25
printf("PASS\n");
26
return 0;
27
}
28
29
Base::~Base () { }