Test for linking profiling code.
authordrepper <drepper>
Thu, 7 Jul 2005 02:18:33 +0000 (02:18 +0000)
committerdrepper <drepper>
Thu, 7 Jul 2005 02:18:33 +0000 (02:18 +0000)
gmon/tst-profile-static.c [new file with mode: 0644]

diff --git a/gmon/tst-profile-static.c b/gmon/tst-profile-static.c
new file mode 100644 (file)
index 0000000..b2f371e
--- /dev/null
@@ -0,0 +1,10 @@
+#include <stdio.h>
+static int
+do_test (void)
+{
+  puts ("Hello world");
+  return 0;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"