Skip to content

Commit 3ac80d0

Browse files
committed
Fix CI
1 parent 0ba59a7 commit 3ac80d0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/test/Parser/cxx0x-decl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ template<int ...N> void NoMissingSemicolonHereEither(struct S... [N]);
221221
// expected-error@-1 {{pack indexing is a C++2c extension}} \
222222
223223

224+
224225
// This must be at the end of the file; we used to look ahead past the EOF token here.
225226
// expected-error@+1 {{expected unqualified-id}} expected-error@+1{{expected ';'}}
226227
using

clang/test/SemaCXX/cxx2c-pack-indexing-ext-diags.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ void h(typename T... [1]::type); // cxx11-warning {{pack indexing is a C++2c ext
4141

4242
template <typename... T>
4343
void x(T... [0]); // cxx11-warning {{'T...[0]' is no longer a pack expansion but a pack indexing type; add a name to specify a pack expansion}} \
44+
// cxx11-warning {{pack indexing is a C++2c extension}} \
4445
// cxx26-warning {{pack indexing is incompatible with C++ standards before C++2c}}
4546

4647
void call() {

0 commit comments

Comments
 (0)