new
From-SVN: r17764
This commit is contained in:
parent
bd0f14dcbf
commit
d52dae6113
4
gcc/testsuite/g++.old-deja/g++.pt/const1.C
Normal file
4
gcc/testsuite/g++.old-deja/g++.pt/const1.C
Normal file
@ -0,0 +1,4 @@
|
||||
// Build don't link:
|
||||
template <class T> struct B { static const int i = 3; };
|
||||
template <class T> struct A { static const int i = B<T>::i; };
|
||||
enum { i = A<int>::i };
|
10
gcc/testsuite/g++.old-deja/g++.pt/ctor1.C
Normal file
10
gcc/testsuite/g++.old-deja/g++.pt/ctor1.C
Normal file
@ -0,0 +1,10 @@
|
||||
// Build don't link:
|
||||
|
||||
template <typename _CharT>
|
||||
struct moneypunct
|
||||
{
|
||||
moneypunct ();
|
||||
};
|
||||
|
||||
template <>
|
||||
moneypunct<char>::moneypunct ();
|
Loading…
x
Reference in New Issue
Block a user