summaryrefslogtreecommitdiff
path: root/Examples/test-suite
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2023-03-09 20:38:30 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2023-03-09 20:38:30 +0000
commit2171115d380c899e7fd54224142ff2540632ef1e (patch)
treec0acd5f4789a1dce348fe43ed91180a7dc1d7b30 /Examples/test-suite
parent4a6f6283aa7e0b15427c60988b0940dc0349f14a (diff)
downloadswig-2171115d380c899e7fd54224142ff2540632ef1e.tar.gz
Update errors tests to use new template error
Old: Error: Template 'X' undefined. New: No matching function template 'X' found.
Diffstat (limited to 'Examples/test-suite')
-rw-r--r--Examples/test-suite/errors/cpp_namespace_template_bad.stderr2
-rw-r--r--Examples/test-suite/errors/cpp_template_nargs.stderr4
2 files changed, 3 insertions, 3 deletions
diff --git a/Examples/test-suite/errors/cpp_namespace_template_bad.stderr b/Examples/test-suite/errors/cpp_namespace_template_bad.stderr
index 5965d529c..8ac072d74 100644
--- a/Examples/test-suite/errors/cpp_namespace_template_bad.stderr
+++ b/Examples/test-suite/errors/cpp_namespace_template_bad.stderr
@@ -5,5 +5,5 @@ cpp_namespace_template_bad.i:22: Error: 'vector' resolves to 'test::vector' and
cpp_namespace_template_bad.i:31: Error: 'max' resolves to 'test::max' and was incorrectly instantiated in scope 'test4' instead of within scope 'test'.
cpp_namespace_template_bad.i:32: Error: 'vector' resolves to 'test::vector' and was incorrectly instantiated in scope 'test4' instead of within scope 'test'.
cpp_namespace_template_bad.i:37: Error: 'max' resolves to 'test::max' and was incorrectly instantiated in scope 'test5' instead of within scope 'test'.
-cpp_namespace_template_bad.i:37: Error: Template 'max' undefined.
+cpp_namespace_template_bad.i:37: Error: No matching function template 'max' found.
cpp_namespace_template_bad.i:38: Error: 'vector' resolves to 'test::vector' and was incorrectly instantiated in scope 'test5' instead of within scope 'test'.
diff --git a/Examples/test-suite/errors/cpp_template_nargs.stderr b/Examples/test-suite/errors/cpp_template_nargs.stderr
index 4ced28e05..ef94e63e6 100644
--- a/Examples/test-suite/errors/cpp_template_nargs.stderr
+++ b/Examples/test-suite/errors/cpp_template_nargs.stderr
@@ -1,2 +1,2 @@
-cpp_template_nargs.i:5: Error: Template 'blah' undefined.
-cpp_template_nargs.i:6: Error: Template 'blah' undefined.
+cpp_template_nargs.i:5: Error: No matching function template 'blah' found.
+cpp_template_nargs.i:6: Error: No matching function template 'blah' found.