File: main.cc

package info (click to toggle)
aspectc%2B%2B 1%3A2.0%2Bsvn20160329-1~bpo8.0
  • links: PTS
  • area: main
  • in suites: jessie-backports
  • size: 16,132 kB
  • sloc: cpp: 106,806; ansic: 7,644; sh: 2,188; makefile: 1,269; pascal: 634; python: 402; xml: 349
file content (27 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <inttypes.h>

class Base1 {};

class Base2 {};

class Base3 : private Base2 {
  int32_t a;
  int64_t a2;
};

class Derived : public Base3, public Base1 {
  int32_t b[2];
  int8_t c;
  int64_t d;
  
  public:
  void bar() {};
  void foo();
};

int main() {
  Derived b;
  b.bar();

  return 0;
}