One of the testsuite tests for libvtv is failing due to an incorrect
signature for the function
"main".  This patch fixes that.

Testing:  The libvtv testsuite failed 4 tests without this fix; it
passes all of them with it.

Ok to commit?

-- Caroline Tice
cmt...@google.com

Index: libvtv/ChangeLog
===================================================================
--- libvtv/ChangeLog (revision 269022)
+++ libvtv/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2019-02-19  Caroline Tice <cmt...@google.com>
+
+ Fix testsuite
+ * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
+
 2019-01-01  Jakub Jelinek  <ja...@redhat.com>

  Update copyright years.
Index: libvtv/testsuite/libvtv.cc/const_vtable.cc
===================================================================
--- libvtv/testsuite/libvtv.cc/const_vtable.cc (revision 269022)
+++ libvtv/testsuite/libvtv.cc/const_vtable.cc (working copy)
@@ -28,7 +28,7 @@
   ~D();
 };
 extern "C" int printf(const char *,...);
-main()
+int main(int argc, char**argv)
 {
   try {
     D *d = new D;

Reply via email to