summaryrefslogtreecommitdiff
path: root/test/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/brk.c')
-rw-r--r--test/brk.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/brk.c b/test/brk.c
new file mode 100644
index 0000000..e13c46b
--- /dev/null
+++ b/test/brk.c
@@ -0,0 +1,15 @@
+/* brk() requires <stdlib.h> */
+
+/*
+ * Items: brk(
+ * Requires: <unistd.h>
+ * Standardized-By: SuS
+ * Detected-by: gcc-4.4.3 + Linux
+ */
+
+#include <unistd.h>
+
+main(int arg, char **argv)
+{
+ brk(NULL);
+}