diff options
-rw-r--r-- | compilerplugins/clang/test/makeshared.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/test/makeshared.cxx b/compilerplugins/clang/test/makeshared.cxx index 8833928e8c18..1ecb8192c7ce 100644 --- a/compilerplugins/clang/test/makeshared.cxx +++ b/compilerplugins/clang/test/makeshared.cxx @@ -54,9 +54,9 @@ void test2() (void)y; std::unique_ptr<int> u1; - // expected-error-re@+1 {{rather use make_shared than constructing from {{.+}} (aka 'std::unique_ptr<int, std::default_delete<int> >') [loplugin:makeshared]}} + // expected-error-re@+1 {{rather use make_shared than constructing from {{.+}} (aka 'std::unique_ptr<int, std::default_delete<int>{{ ?}}>') [loplugin:makeshared]}} std::shared_ptr<int> z = std::move(u1); - // expected-error-re@+1 {{rather use make_shared than constructing from {{.+}} (aka 'std::unique_ptr<int, std::default_delete<int> >') [loplugin:makeshared]}} + // expected-error-re@+1 {{rather use make_shared than constructing from {{.+}} (aka 'std::unique_ptr<int, std::default_delete<int>{{ ?}}>') [loplugin:makeshared]}} z = std::move(u1); } |