[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / cxx-variadic-func.cpp
blob98a34d3e1bf6719fcf895c6ef418d1d2be6545f6
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 void f(...) {
4 // FIXME: There's no disambiguation here; this is unambiguous.
5 int g(int(...)); // expected-warning {{disambiguated}} expected-note {{paren}}
8 void h(int n..., int m); // expected-error {{expected ')'}} expected-note {{to match}}