// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// Ensure that this function is properly marked as a failure.
void
void // expected-error {{interface type 'foo' cannot be passed by value; did you forget * in 'foo'}}
foo // expected-error {{interface type 'foo' cannot be returned by value; did you forget * in 'foo'}}
// rdar://6780761
void
// rdar://8421082
; // expected-note {{forward declaration of 'enum bogus'}}
// FIXME: The diagnostic and recovery here could probably be improved.