aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-pdbdump/Inputs/FilterTest.cpp
blob: 5f803e6984944dbd5ecff23e99511db41a0c3636 (plain)
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
28
29
// Compile with "cl /c /Zi /GR- FilterTest.cpp"
// Link with "link FilterTest.obj /debug /nodefaultlib /entry:main"

class FilterTestClass {
public:
  typedef int NestedTypedef;
  enum NestedEnum {
    NestedEnumValue1
  };

  void MemberFunc() {}

private:
  int IntMemberVar;
  double DoubleMemberVar;
};

int IntGlobalVar;
double DoubleGlobalVar;
typedef int GlobalTypedef;
enum GlobalEnum {
  GlobalEnumVal1
} GlobalEnumVar;

int main(int argc, char **argv) {
  FilterTestClass TestClass;
  GlobalTypedef v1;
  return 0;
}