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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.martin
/
pure1.C
blob
2bb240ab89d103186c6f3dbad989d06bbe8a5177
1
// Build don't link:
2
class A
3
{
4
public:
5
virtual void f(void) = 0; // pure virtual function.
6
A() {f();} // ERROR - called in a constructor
7
~A() {f();} // ERROR - called in a destructor
8
};