From-SVN: r17764
This commit is contained in:
Jason Merrill 1998-02-07 12:18:39 -05:00
parent bd0f14dcbf
commit d52dae6113
2 changed files with 14 additions and 0 deletions

View 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 };

View File

@ -0,0 +1,10 @@
// Build don't link:
template <typename _CharT>
struct moneypunct
{
moneypunct ();
};
template <>
moneypunct<char>::moneypunct ();