mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
6b752cfac4
commit
f3ecd50fd9
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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" } */
|
||||
Loading…
Reference in New Issue