diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-16 01:23:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-16 01:23:35 +0300 |
commit | 8a5695102846a26e398abb6d394c2168e2f6939c (patch) | |
tree | 8ae27da80752ee829de6c2cf340c3378a8cc7596 | |
parent | SymbolInfo: get rid of a dangerous hack (diff) | |
download | winapi-debug-8a5695102846a26e398abb6d394c2168e2f6939c.tar.gz winapi-debug-8a5695102846a26e398abb6d394c2168e2f6939c.zip |
test/foobar: noinline just in case
-rw-r--r-- | test/foobar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/foobar.cpp b/test/foobar.cpp index cdb8a97..7ace3bb 100644 --- a/test/foobar.cpp +++ b/test/foobar.cpp @@ -2,15 +2,15 @@ namespace foobar_ns { int exit_code = 1; -int baz() { +int __declspec(noinline) baz() { return exit_code; } -int bar() { +int __declspec(noinline) bar() { return baz() * 2; } -int foo() { +int __declspec(noinline) foo() { return bar() * 2; } |