llvm-project/clang/test/SemaTemplate/typo-variadic.cpp

3 lines
146 B
C++

// RUN: %clang_cc1 -fsyntax-only %s -verify
int x = m(s...); // expected-error{{pack expansion does not}} expected-error{{undeclared identifier}}