// RUN: %clang_cc1 -verify -fsyntax-only %s
intNotAProtoType();// expected-note{{add 'void' to the parameter list to turn an old-style K&R function declaration into a prototype}}
intTestCalleeNotProtoType(void){__attribute__((musttail))returnNotAProtoType();// expected-error{{'musttail' attribute requires that both caller and callee functions have a prototype}}
}intProtoType(void);intTestCallerNotProtoType(){// expected-note{{add 'void' to the parameter list to turn an old-style K&R function declaration into a prototype}}
__attribute__((musttail))returnProtoType();// expected-error{{'musttail' attribute requires that both caller and callee functions have a prototype}}
}intTestProtoType(void){returnProtoType();}