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
/
eb34.C
blob
0818f7ce169a4cf95997d10c4eee24b44ae15e7e
1
// { dg-do assemble }
2
class Base {
3
public:
4
class Bar { public: virtual ~Bar() {}; };
5
};
6
7
class Derived : public Base {
8
public:
9
class Bar : public Base::Bar {};
10
};
11
12
template <class T>
13
class XYZ : public T::Bar {
14
};
15
16
void test() {
17
XYZ<Base> b;
18
XYZ<Derived> d;
19
}