2014-08-12 07:30:23 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-02-15 04:20:19 +08:00
|
|
|
|
|
|
|
void f(...) {
|
2015-02-24 06:36:28 +08:00
|
|
|
// FIXME: There's no disambiguation here; this is unambiguous.
|
|
|
|
int g(int(...)); // expected-warning {{disambiguated}} expected-note {{paren}}
|
2009-02-15 04:20:19 +08:00
|
|
|
}
|
2014-08-12 07:30:23 +08:00
|
|
|
|
|
|
|
void h(int n..., int m); // expected-error {{expected ')'}} expected-note {{to match}}
|