// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
// rdar://10466373
typedefshortSHORT;voidf0(void){(void)^{if(1)return(float)1.0;elseif(2)return(double)2.0;// expected-error {{return type 'double' must match previous return type 'float' when block literal has}}
elsereturn(SHORT)3;// expected-error {{return type 'SHORT' (aka 'short') must match previous return type 'float' when}}
};}