forked from OSchip/llvm-project
9 lines
295 B
C++
9 lines
295 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
void f(...) {
|
|
// FIXME: There's no disambiguation here; this is unambiguous.
|
|
int g(int(...)); // expected-warning {{disambiguated}} expected-note {{paren}}
|
|
}
|
|
|
|
void h(int n..., int m); // expected-error {{expected ')'}} expected-note {{to match}}
|