aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug097/getrand.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug097/getrand.c')
-rw-r--r--testsuite/gna/bug097/getrand.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/gna/bug097/getrand.c b/testsuite/gna/bug097/getrand.c
new file mode 100644
index 000000000..f0d7cd885
--- /dev/null
+++ b/testsuite/gna/bug097/getrand.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+int
+get_rand (void)
+{
+ return rand();
+}