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