Skip to content

Commit 586649a

Browse files
committed
[FOLD] fix test
1 parent e382e2f commit 586649a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-cxx23.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
auto x0 = requires (this int) { true; }; // expected-error {{a requires expression cannot have an explicit object parameter}}
44
auto x1 = requires (int, this int) { true; }; // expected-error {{a requires expression cannot have an explicit object parameter}}
55

6-
template<this auto>
7-
void f(); // expected-error {{expected template parameter}}
8-
// expected-error@-1 {{no function template matches function template specialization 'f'}}
6+
template<this auto> // expected-error {{expected template parameter}}
7+
void f(); // expected-error {{no function template matches function template specialization 'f'}}

0 commit comments

Comments
 (0)