Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-symbolizer / Inputs / coff-exports.cpp
blob23b44b3290227b12efad48c0a0b414186e6ab198
1 // To generate the corresponding EXE, run:
2 // clang-cl -MD -c coff-exports.cpp && lld-link /MANIFEST:NO coff-exports.obj
4 #define EXPORT __declspec(dllexport)
6 extern "C" int puts(const char *str);
8 EXPORT void __declspec(noinline) foo() {
9 puts("foo1");
10 puts("foo2");
13 void bar() {
14 foo();
17 EXPORT int main() {
18 bar();
19 return 0;