cxx-variadic-func.cpp 295 B

12345678
  1. // RUN: %clang_cc1 -fsyntax-only -verify %s
  2. void f(...) {
  3. // FIXME: There's no disambiguation here; this is unambiguous.
  4. int g(int(...)); // expected-warning {{disambiguated}} expected-note {{paren}}
  5. }
  6. void h(int n..., int m); // expected-error {{expected ')'}} expected-note {{to match}}