OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-07-23 Oyvind Harboe <oyvind.harboe@zylin.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename6.C
1
// { dg-do assemble }
2
3
template <class T>
4
struct A
5
{
6
typedef T A_Type;
7
};
8
9
10
template <class U>
11
struct B : public A<U>
12
{
13
A_Type Func(); // { dg-error "" } declaration
14
};
15
16
template <class U>
17
A<U>::A_Type B<U>::Func() // { dg-error "" } function
18
{
19
}