summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.cpp
blob: bf97594fa4c802e6eacaf440b17b24ff8a26aed0 (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
// To generate the corresponding EXE/PDB, run:
// cl /Zi test.cpp

namespace NS {
struct Foo {
  void bar() {}
};
}

void foo() {
}

static void private_symbol() {
}

int main() {
  foo();
  
  NS::Foo f;
  f.bar();
  private_symbol();
}

extern "C" {
void __cdecl foo_cdecl() {}
void __stdcall foo_stdcall() {}
void __fastcall foo_fastcall() {}
void __vectorcall foo_vectorcall() {}
}
OpenPOWER on IntegriCloud