summaryrefslogtreecommitdiff
path: root/clang/test/Parser/knr_parameter_attributes.c
blob: fb975cbf332754714e513835e9de27a01cbc0b76 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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;
}