// RUN: %clang_cc1 -fsyntax-only -Wno-strict-prototypes -verify %s
// Functions cannot have parameters of type __fp16.
extern void ; // expected-error {{parameters cannot have __fp16 type; did you forget * ?}}
extern void ;
extern ; // expected-error {{parameters cannot have __fp16 type; did you forget * ?}}
extern ;
typedef void ; // expected-error {{parameters cannot have __fp16 type; did you forget * ?}}
typedef void ;
void __fp16 a;
void __fp16 *a;
// Functions cannot return type __fp16.
extern __fp16 ; // expected-error {{function return value cannot have __fp16 type; did you forget * ?}}
extern __fp16 *;
extern ; // expected-error {{function return value cannot have __fp16 type; did you forget * ?}}
extern __fp16 * ;
typedef ; // expected-error {{function return value cannot have __fp16 type; did you forget * ?}}
typedef __fp16 * ;
void