Add .cantunwind to _dl_start_user
[platform/upstream/glibc.git] / posix / bug-regex31.c
index 974e860..fd7e0c5 100644 (file)
@@ -1,6 +1,7 @@
 #include <mcheck.h>
 #include <regex.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 
 int
@@ -32,5 +33,5 @@ main (void)
 
   free (buf);
 
-  return 0;
+  return res;
 }