YouCompleteMe/cpp/llvm/tools/clang/test/Parser/knr_parameter_attributes.c

12 lines
187 B
C
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -W -Wall -Werror -verify %s
int f(int i __attribute__((__unused__)))
{
return 0;
}
int g(i)
int i __attribute__((__unused__));
{
return 0;
}