diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/warn/Warray-bounds-4.C')
-rw-r--r-- | gcc/testsuite/g++.dg/warn/Warray-bounds-4.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C b/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C index a4c4383..874aeee4 100644 --- a/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C +++ b/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C @@ -23,7 +23,7 @@ public: virtual void set(unsigned long index, char value) { contents[index] = value; } virtual char& operator[] (unsigned long index) { return contents[index]; } - FixedString() { contents[0] = '\0'; } // { dg-warning "above array bounds" } + FixedString() { contents[0] = '\0'; } // { dg-warning "\\\[-Warray-bounds" } }; void print_length (const String& string); |