From: Paolo Carlini Date: Fri, 1 May 2015 18:53:51 +0000 (+0000) Subject: Wnarrowing4.C: Rename to Wnarrowing3.C. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d532ea918144fc0fe34c81da78394efcff434d41;p=gcc.git Wnarrowing4.C: Rename to Wnarrowing3.C. 2015-05-01 Paolo Carlini * g++.dg/cpp0x/Wnarrowing4.C: Rename to Wnarrowing3.C. Co-Authored-By: Prathamesh Kulharni From-SVN: r222701 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e6ccf477a1e..e5ff091a9f3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -2,7 +2,7 @@ Prathamesh Kulharni PR c++/65858 - * g++.dg/cpp0x/Wnarrowing4.C: New. + * g++.dg/cpp0x/Wnarrowing3.C: New. 2015-05-01 Rasmus Villemoes diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C new file mode 100644 index 00000000000..d2dd3837dda --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C @@ -0,0 +1,6 @@ +// PR c++/65858 +// { dg-do compile { target c++11 } } +// { dg-require-effective-target lto } +// { dg-options "-flto -Wno-narrowing" } + +int x { 0.5 }; diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C deleted file mode 100644 index d2dd3837dda..00000000000 --- a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C +++ /dev/null @@ -1,6 +0,0 @@ -// PR c++/65858 -// { dg-do compile { target c++11 } } -// { dg-require-effective-target lto } -// { dg-options "-flto -Wno-narrowing" } - -int x { 0.5 };