re PR c++/13592 (C++ parser regression)
authorMark Mitchell <mark@codesourcery.com>
Mon, 19 Jan 2004 21:24:46 +0000 (21:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 19 Jan 2004 21:24:46 +0000 (21:24 +0000)
PR c++/13592
* g++.dg/other/error1.C (class foo): Tweak error message.

From-SVN: r76177

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error1.C

index a473f27af29cb74fec7a0188eb290d7ee6d10525..75713913298f0c3658fe3acef03d446df54d17f9 100644 (file)
@@ -1,5 +1,8 @@
 2004-01-19  Mark Mitchell  <mark@codesourcery.com>
 
+       PR c++/13592
+       * g++.dg/other/error1.C (class foo): Tweak error message.
+
        PR c++/13592
        * g++.dg/template/call2.C: New test.
 
index a55fcc60cf6ed64664066f236d55ad27ceee8e2e..927efef8bbbcb90a5d5139fc4fab82801829319e 100644 (file)
@@ -10,6 +10,6 @@ class foo {
   int fudge[40];
   int bar [40];
   inline int access(int i) {
-    return bar(i);  // { dg-error "call to non-function `foo::bar'" "" }
+    return bar(i);  // { dg-error "cannot be used as a function" "" }
   }
 };