aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/warning1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/other/warning1.C')
-rw-r--r--gcc/testsuite/g++.dg/other/warning1.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/other/warning1.C b/gcc/testsuite/g++.dg/other/warning1.C
index 109fc46aa22..6662c25e6e1 100644
--- a/gcc/testsuite/g++.dg/other/warning1.C
+++ b/gcc/testsuite/g++.dg/other/warning1.C
@@ -7,8 +7,8 @@ extern "C" int printf(const char *, ...);
struct S
{
- static const float inf = 1.0f / 0.0f; // { dg-warning "1.0|initialization" }
- static const float nan = 0.0f / 0.0f; // { dg-warning "0.0|initialization" }
+ static const float inf = 1.0f / 0.0f; // { dg-warning "1.0|initializ" }
+ static const float nan = 0.0f / 0.0f; // { dg-warning "0.0|initializ" }
};
int main()