1 // This file contain tests for attribute arguments on K&R functions.
3 // RUN: %clang_cc1 -ast-print -x c -std=c89 -fms-extensions %s -o - | FileCheck %s
6 // CHECK-NEXT: int i __attribute__((unused));
8 // CHECK-NEXT: return 0;
10 int knr(i
) int i
__attribute__((unused
)); { return 0; }
12 // CHECK: __attribute__((unused)) int knr2(i)
15 // CHECK-NEXT: return 0;
17 __attribute__((unused
)) int knr2(i
) int i
; { return 0; }