summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/prune.exp
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-15 20:23:36 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-15 20:23:36 +0000
commit2399d3bc1f04cc09bd28e7cde60eee3736a30e6b (patch)
tree8187fbf0bd1bb690a6a10b2f1cf5858182c6f6e2 /gcc/testsuite/lib/prune.exp
parent6b5ad644f67ab263814837acd17bcef232363402 (diff)
downloadgcc-2399d3bc1f04cc09bd28e7cde60eee3736a30e6b.tar.gz
PR c++/10381
* parser.c (cp_parser_primary_expression): Reorganize logic for dealing with name lookup failures. PR c++/10381 * g++.dg/parse/lookup3.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65656 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/prune.exp')
-rw-r--r--gcc/testsuite/lib/prune.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp
index a2861c0eefc..8105340cfcd 100644
--- a/gcc/testsuite/lib/prune.exp
+++ b/gcc/testsuite/lib/prune.exp
@@ -19,7 +19,7 @@
proc prune_gcc_output { text } {
#send_user "Before:$text\n"
- regsub -all "(^|\n)\[^\n\]*: In (function|member|method|(copy )?constructor|instantiation|program|subroutine|block-data) \[^\n\]*" $text "" text
+ regsub -all "(^|\n)\[^\n\]*: In ((static member )?function|member|method|(copy )?constructor|instantiation|program|subroutine|block-data) \[^\n\]*" $text "" text
regsub -all "(^|\n)\[^\n\]*: At (top level|global scope):\[^\n\]*" $text "" text
regsub -all "(^|\n)collect2: ld returned \[^\n\]*" $text "" text
regsub -all "(^|\n)Please submit.*instructions\[^\n\]*" $text "" text