2007-12-19 13:31:29 +08:00
|
|
|
// RUN: clang %s -verify -fsyntax-only
|
|
|
|
typedef char T[4];
|
|
|
|
|
|
|
|
T foo(int n, int m) { } // expected-error {{cannot return array or function}}
|
|
|
|
|
2008-01-17 08:36:28 +08:00
|
|
|
void foof(const char *, ...) __attribute__((__format__(__printf__, 1, 2))), barf (void);
|
|
|
|
|
|
|
|
|