Skip to content

Commit 352d165

Browse files
committed
[FOLD] fix test
1 parent 4ef0c2f commit 352d165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaTemplate/deduction-crash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,5 @@ namespace PR51872_part1 {
175175

176176
namespace GH177545 {
177177
template<decltype(auto)()() volatile throw() -> char> // expected-error {{'decltype(auto)' can only be used as a return type in a function declaration}}
178-
struct T2; // expected-error@-1 {{function cannot return function type 'auto () volatile throw() -> decltype(auto)'}}
178+
struct T2; // expected-error@* {{function cannot return function type 'auto () volatile throw() -> decltype(auto)'}}
179179
}

0 commit comments

Comments
 (0)