aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2019-02-20 08:07:19 -0800
committerCaroline Tice <ctice@gcc.gnu.org>2019-02-20 08:07:19 -0800
commit9e8fc96cdcd909a9ead698696e4fae76bd43b27f (patch)
tree50f910b0ca46fd6d3dae01005b7aecb0c39d6d11
parent0024731fda49ceb4bbe1d79a0cbb9483ad1e3015 (diff)
downloadgcc-9e8fc96cdcd909a9ead698696e4fae76bd43b27f.zip
gcc-9e8fc96cdcd909a9ead698696e4fae76bd43b27f.tar.gz
gcc-9e8fc96cdcd909a9ead698696e4fae76bd43b27f.tar.bz2
Fix testsuite
2019-02-19 Caroline Tice <cmtice@google.com> Fix testsuite * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature. From-SVN: r269041
-rw-r--r--libvtv/ChangeLog5
-rw-r--r--libvtv/testsuite/libvtv.cc/const_vtable.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog
index 60409da..96e6618 100644
--- a/libvtv/ChangeLog
+++ b/libvtv/ChangeLog
@@ -1,3 +1,8 @@
+2019-02-19 Caroline Tice <cmtice@google.com>
+
+ Fix testsuite
+ * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
+
2019-01-01 Jakub Jelinek <jakub@redhat.com>
Update copyright years.
diff --git a/libvtv/testsuite/libvtv.cc/const_vtable.cc b/libvtv/testsuite/libvtv.cc/const_vtable.cc
index 3229f00..d26fcbc 100644
--- a/libvtv/testsuite/libvtv.cc/const_vtable.cc
+++ b/libvtv/testsuite/libvtv.cc/const_vtable.cc
@@ -28,7 +28,7 @@ struct D : B, C {
~D();
};
extern "C" int printf(const char *,...);
-main()
+int main(int argc, char**argv)
{
try {
D *d = new D;