Debian Codegraph @

clang/test/Parser/enableif-attr.cpp

raw
1 // RUN: %clang_cc1 -x c -fsyntax-only -verify %s
2
3 void f1(x) __attribute__((enable_if(1, ""))); // expected-error {{a parameter list without types is only allowed in a function definition}}
4 void f2(x, y) __attribute__((enable_if(1, ""))); // expected-error {{a parameter list without types is only allowed in a function definition}}