From: Bernd Edlinger Date: Thu, 20 Oct 2016 19:39:19 +0000 (+0000) Subject: wdate-time.c: Restored test case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3ecd50fd9ad38b211d12def589d47370465226b;p=gcc.git wdate-time.c: Restored test case. 2016-10-20 Bernd Edlinger * c-c++-common/wdate-time.c: Restored test case. * g++.dg/warn/Wconversion-real.C: Deleted empty file. From-SVN: r241385 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9f5867e07ad..22993ad8a16 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-10-20 Bernd Edlinger + + * c-c++-common/wdate-time.c: Restored test case. + * g++.dg/warn/Wconversion-real.C: Deleted empty file. + 2016-10-20 Jakub Jelinek * g++.dg/cpp1z/inline-var1.C (w): Initialize to 64 + 2. diff --git a/gcc/testsuite/c-c++-common/wdate-time.c b/gcc/testsuite/c-c++-common/wdate-time.c index e69de29bb2d..0ff27b4cd6f 100644 --- a/gcc/testsuite/c-c++-common/wdate-time.c +++ b/gcc/testsuite/c-c++-common/wdate-time.c @@ -0,0 +1,6 @@ +/* { dg-do compile } */ +/* { dg-options "-Wdate-time" } */ + +const char time[] = __TIME__; /* { dg-warning "might prevent reproducible builds" } */ +const char date[] = __DATE__; /* { dg-warning "might prevent reproducible builds" } */ +const char timestamp[] = __TIMESTAMP__; /* { dg-warning "might prevent reproducible builds" } */ diff --git a/gcc/testsuite/g++.dg/warn/Wconversion-real.C b/gcc/testsuite/g++.dg/warn/Wconversion-real.C deleted file mode 100644 index e69de29bb2d..00000000000