~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.core.tests/resources/pdomtests/classTests/class.cpp

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
class A {
 
2
public:
 
3
    A() {}
 
4
        void f() {
 
5
        }
 
6
};
 
7
 
 
8
class B : public A {
 
9
public:
 
10
   B() {}
 
11
   void bf() {}
 
12
};
 
13
 
 
14
int main() {
 
15
        B b;
 
16
        b.f();
 
17
}
 
18
 
 
19
class Z {
 
20
  public:
 
21
  Z (*f)(Z);
 
22
};
 
23
 
 
24
Z zzz= *new Z();
 
25
 
 
26
class C {
 
27
  public:
 
28
     C(int a) {}
 
29
};
 
30
 
 
31
class D {
 
32
  public:
 
33
     D(D &) {}
 
34
};