new
From-SVN: r18638
This commit is contained in:
parent
22531e51c3
commit
b68c32add4
2 changed files with 15 additions and 0 deletions
14
gcc/testsuite/g++.old-deja/g++.pt/lookup1.C
Normal file
14
gcc/testsuite/g++.old-deja/g++.pt/lookup1.C
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Build don't link:
|
||||
|
||||
template <class T, class Allocator>
|
||||
struct __vector_alloc_base
|
||||
{
|
||||
typedef int allocator_type;
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct vector : __vector_alloc_base<T,int>
|
||||
{
|
||||
typedef short allocator_type;
|
||||
explicit vector(const allocator_type& a = allocator_type()) {}
|
||||
};
|
1
gcc/testsuite/g++.old-deja/g++.pt/parse1.C
Normal file
1
gcc/testsuite/g++.old-deja/g++.pt/parse1.C
Normal file
|
@ -0,0 +1 @@
|
|||
template <class T> combine { };
|
Loading…
Add table
Reference in a new issue