wdate-time.c: Restored test case.

2016-10-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-c++-common/wdate-time.c: Restored test case.
        * g++.dg/warn/Wconversion-real.C: Deleted empty file.

From-SVN: r241385
This commit is contained in:
Bernd Edlinger 2016-10-20 19:39:19 +00:00 committed by Bernd Edlinger
parent 6b752cfac4
commit f3ecd50fd9
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2016-10-20 Bernd Edlinger <bernd.edlinger@hotmail.de>
* c-c++-common/wdate-time.c: Restored test case.
* g++.dg/warn/Wconversion-real.C: Deleted empty file.
2016-10-20 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp1z/inline-var1.C (w): Initialize to 64 + 2.

View file

@ -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" } */