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

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

void foo() {
}

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

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