Skip to content

Commit 41c1c6a

Browse files
committed
Address review feedback
1 parent bca3cea commit 41c1c6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/test/CXX/temp/temp.decls/temp.variadic/sizeofpack.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
12
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
23
// expected-no-diagnostics
34

@@ -202,6 +203,7 @@ void func()
202203

203204
}
204205

206+
#if __cplusplus >= 202002L
205207
namespace GH81436 {
206208

207209
template <class E> struct Bar;
@@ -220,3 +222,4 @@ auto func() requires requires(Bar<Ts> ...init_lists) {
220222
void f() { func<int>(); }
221223

222224
} // namespace GH81436
225+
#endif

0 commit comments

Comments
 (0)