~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/tests/test15.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20080410174052-dbne39zue793jgrh
Tags: upstream-1.0pre4~svn.20080409+dfsg
ImportĀ upstreamĀ versionĀ 1.0pre4~svn.20080409+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/******************************************************
2
 
 ** friend declarations for class template instances **
3
 
 ******************************************************/
4
 
 
5
 
template <class T> 
6
 
class X {
7
 
};
8
 
 
9
 
template <class T>
10
 
class Y {
11
 
  friend class X<int>;
12
 
  X<int> x;
13
 
};
14
 
 
15
 
Y<int> y;