blob: 05f492d67ac032f824b239bcd7eb23cc6a5916e5 [file] [log] [blame]
Chris Lattner6ad7e882007-12-19 05:31:29 +00001// RUN: clang %s -verify -fsyntax-only
2typedef char T[4];
3
4T foo(int n, int m) { } // expected-error {{cannot return array or function}}
5
Steve Naroffaa43cc12008-01-17 00:36:28 +00006void foof(const char *, ...) __attribute__((__format__(__printf__, 1, 2))), barf (void);
7
8