about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--csu/Makefile3
-rw-r--r--csu/tst-empty.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/csu/Makefile b/csu/Makefile
index a36550f826..eebf41c0a3 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -42,7 +42,8 @@ distribute = initfini.c gmon-start.c start.c defs.awk munch.awk \
 generated = version-info.h
 before-compile = $(objpfx)version-info.h
 
-tests := tst-atomic tst-atomic-long
+tests := tst-empty tst-atomic tst-atomic-long
+tests-static := tst-empty
 
 all: # Make this the default target; it will be defined in Rules.
 
diff --git a/csu/tst-empty.c b/csu/tst-empty.c
new file mode 100644
index 0000000000..980dcd60fd
--- /dev/null
+++ b/csu/tst-empty.c
@@ -0,0 +1,6 @@
+/* The most useful C program known to man.  */
+int
+main (void)
+{
+  return 0;
+}