~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to Puma/tests/bug259/bug259.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
void f_v(volatile int *) {}
 
2
 
 
3
void f(int *) {}
 
4
void f_c(const int *) {}
 
5
void f_cv(const volatile int *) {}
 
6
void f_vc(volatile const int *) {}
 
7
 
 
8
int main(int, char **) {
 
9
  int i;
 
10
  
 
11
  // examples/ccparser complains: no matching function for call to `f_v'
 
12
  f_v(&i);
 
13
      
 
14
  // no problem
 
15
  f(&i);
 
16
  f_c(&i);
 
17
  f_cv(&i);
 
18
  f_vc(&i);
 
19
        
 
20
  return 0;
 
21
}
 
22
                  
 
 
b'\\ No newline at end of file'