You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/test/SemaTemplate/deduction-crash.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -175,5 +175,5 @@ namespace PR51872_part1 {
175
175
176
176
namespaceGH177545 {
177
177
template<decltype(auto)()() volatilethrow() -> 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)'}}
0 commit comments