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++.robertl
/
eb19.C
blob
60f4aa1d65820aad9b4a53c5f395f6d53ac663a5
1
// { dg-do assemble }
2
3
#define CRASH 1
4
#ifdef CRASH
5
#define VIRTUAL virtual
6
#else
7
#define VIRTUAL
8
#endif
9
10
class A {};
11
class B : public VIRTUAL A {};
12
template <class Imp> class C : public /*virtual*/ Imp {};
13
// define CRASH and uncomment here ^^^^^^^^^^^
14
// and the crash goes away!!!!
15
16
template class C<B>;