xref: /aosp_15_r20/external/clang/test/Parser/cxx-variadic-func.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
f(...)3 void f(...) {
4   // FIXME: There's no disambiguation here; this is unambiguous.
5   int g(int(...)); // expected-warning {{disambiguated}} expected-note {{paren}}
6 }
7 
8 void h(int n..., int m); // expected-error {{expected ')'}} expected-note {{to match}}
9