You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
295 B
9 lines
295 B
4 months ago
|
// 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}}
|