aboutsummaryrefslogtreecommitdiff
path: root/test/tools/sancov/Inputs/foo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/sancov/Inputs/foo.cpp')
-rw-r--r--test/tools/sancov/Inputs/foo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tools/sancov/Inputs/foo.cpp b/test/tools/sancov/Inputs/foo.cpp
new file mode 100644
index 000000000000..71b35b32392d
--- /dev/null
+++ b/test/tools/sancov/Inputs/foo.cpp
@@ -0,0 +1,5 @@
+#include <stdio.h>
+#include <string>
+
+__attribute__((noinline))
+void foo() { printf("foo\n"); }