llvm-for-llvmta/tools/clang/test/SemaTemplate/typo-variadic.cpp

3 lines
146 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only %s -verify
int x = m(s...); // expected-error{{pack expansion does not}} expected-error{{undeclared identifier}}