Commit 91afdf4c by Nathan Sidwell Committed by Nathan Sidwell

[PATCH] Fix testsuire error message

https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00196.html
	* lib/scanlang.exp: Fix error message to refer to scan-lang-dump.

From-SVN: r254375
parent 187bd6cd
2017-11-03 Nathan Sidwell <nathan@acm.org> 2017-11-03 Nathan Sidwell <nathan@acm.org>
* lib/scanlang.exp: Fix error message to refer to scan-lang-dump.
PR c++/82710 PR c++/82710
* g++.dg/warn/pr82710.C: More cases. * g++.dg/warn/pr82710.C: More cases.
......
...@@ -28,11 +28,11 @@ load_lib scandump.exp ...@@ -28,11 +28,11 @@ load_lib scandump.exp
proc scan-lang-dump { args } { proc scan-lang-dump { args } {
if { [llength $args] < 2 } { if { [llength $args] < 2 } {
error "scan-tree-dump: too few arguments" error "scan-lang-dump: too few arguments"
return return
} }
if { [llength $args] > 3 } { if { [llength $args] > 3 } {
error "scan-tree-dump: too many arguments" error "scan-lang-dump: too many arguments"
return return
} }
if { [llength $args] >= 3 } { if { [llength $args] >= 3 } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment