mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 02:44:43 +08:00
new
From-SVN: r18638
This commit is contained in:
parent
22531e51c3
commit
b68c32add4
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…
Reference in New Issue
Block a user