mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 05:55:43 -04:00

This seems to break mixing function-style and c-style casts, and is breaking bootstrapping llvm. This reverts r230261. llvm-svn: 230274
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}}
|