~ubuntu-branches/ubuntu/natty/aspectc++/natty

« back to all changes in this revision

Viewing changes to AspectC++/examples/Trace/main.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-12-23 10:49:40 UTC
  • Revision ID: james.westby@ubuntu.com-20051223104940-ig4klhoi991zs7km
Tags: upstream-0.99+1.0pre2
ImportĀ upstreamĀ versionĀ 0.99+1.0pre2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdio.h>
 
2
 
 
3
#include "header.h"
 
4
 
 
5
Test array[10];
 
6
 
 
7
int main();
 
8
 
 
9
int main()
 
10
 {
 
11
   Derived test;
 
12
   
 
13
   test.foo();
 
14
   
 
15
   OtherDerived od;
 
16
   od.abar(1,2);
 
17
   (&od)->abar (3, 4);
 
18
 
 
19
   return 0;
 
20
 }
 
21