summaryrefslogtreecommitdiff
path: root/tools/perf/config/feature-checks/test-stackprotector.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-checks/test-stackprotector.c')
-rw-r--r--tools/perf/config/feature-checks/test-stackprotector.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-stackprotector.c b/tools/perf/config/feature-checks/test-stackprotector.c
new file mode 100644
index 0000000..c9f398d
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-stackprotector.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main(void)
+{
+ return puts("hi");
+}