aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/foobar.cpp6
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;
}