summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/x86/trivial_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/x86/trivial_program.c')
-rw-r--r--tools/testing/selftests/x86/trivial_program.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/x86/trivial_program.c b/tools/testing/selftests/x86/trivial_program.c
new file mode 100644
index 000000000..46a447163
--- /dev/null
+++ b/tools/testing/selftests/x86/trivial_program.c
@@ -0,0 +1,10 @@
+/* Trivial program to check that compilation with certain flags is working. */
+
+#include <stdio.h>
+
+int
+main(void)
+{
+ puts("");
+ return 0;
+}