wdate-time.c: Restored test case.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 20 Oct 2016 19:39:19 +0000 (19:39 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Thu, 20 Oct 2016 19:39:19 +0000 (19:39 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/wdate-time.c
gcc/testsuite/g++.dg/warn/Wconversion-real.C [deleted file]

index 9f5867e07adc882a1190ba44ba57d19d277fa028..22993ad8a16771e6323db3457c3daca01f1981ee 100644 (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.
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0ff27b4cd6fcea4564ffc39a094197b653b41609 100644 (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" }  */
diff --git a/gcc/testsuite/g++.dg/warn/Wconversion-real.C b/gcc/testsuite/g++.dg/warn/Wconversion-real.C
deleted file mode 100644 (file)
index e69de29..0000000