summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/modularize/Inputs/SomeTypes.h
blob: 46c4316fc93a244a619a5da7cd0903b3e1af0c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Define a few different kinds of types - no modules problems.

typedef int TypeInt;

typedef TypeInt NestedTypeInt;

struct TypeStruct {
  int Member;
};

class TypeClass {
public:
  TypeClass() : Member(0) {}
private:
  int Member;
};
OpenPOWER on IntegriCloud