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

« back to all changes in this revision

Viewing changes to Puma/tests/test1.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
 
/****************************************
2
 
 ** overload resolution with arguments **
3
 
 ** of type "template instance"        **
4
 
 ****************************************/
5
 
 
6
 
template <class T>
7
 
struct basic_string {
8
 
  basic_string(const char*){}
9
 
};
10
 
 
11
 
typedef basic_string<char> string;
12
 
 
13
 
void foo(const string &s){}
14
 
 
15
 
int main() {
16
 
  foo("Hallo");       // <= has to be resolved
17
 
  return 0;
18
 
}