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

« back to all changes in this revision

Viewing changes to Puma/tests/bug10/bug10.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
template <int i>
 
2
class X {};
 
3
 
 
4
template <template <int j> class T, int i>
 
5
void foo( T<i> ) {}
 
6
 
 
7
template <>
 
8
void foo( X<1> ) {}
 
9
 
 
10
void bar() {
 
11
  X<1> x;
 
12
  foo(x);
 
13
}