summaryrefslogtreecommitdiff
path: root/gmon/tst-profile-static.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmon/tst-profile-static.c')
-rw-r--r--gmon/tst-profile-static.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gmon/tst-profile-static.c b/gmon/tst-profile-static.c
new file mode 100644
index 0000000000..b2f371e782
--- /dev/null
+++ b/gmon/tst-profile-static.c
@@ -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"