Richard Smith | 36ee9fb | 2014-08-11 23:30:23 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Cedric Venet | 08438133 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 2 | |
| 3 | void f(...) { |
Justin Bogner | d26f95b | 2015-02-23 22:36:28 +0000 | [diff] [blame] | 4 | // FIXME: There's no disambiguation here; this is unambiguous. |
| 5 | int g(int(...)); // expected-warning {{disambiguated}} expected-note {{paren}} |
Cedric Venet | 08438133 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 6 | } |
Richard Smith | 36ee9fb | 2014-08-11 23:30:23 +0000 | [diff] [blame] | 7 | |
| 8 | void h(int n..., int m); // expected-error {{expected ')'}} expected-note {{to match}} |