// RUN: %clang_cc1 -fsyntax-only -verify %s
structfoo{int a;};intmain(void){int a;float b;double d;struct foo s;staticint ary[__builtin_classify_type(a)];staticint ary2[(__builtin_classify_type)(a)];staticint ary3[(*__builtin_classify_type)(a)];// expected-error{{builtin functions must be directly called}}
int result;
result =__builtin_classify_type(a);
result =__builtin_classify_type(b);
result =__builtin_classify_type(d);
result =__builtin_classify_type(s);}