1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 void test1(T
__attribute__((noescape
)) arr
, int size
);
6 // expected-warning@+1 {{'noescape' attribute only applies to pointer arguments}}
7 void test2(int __attribute__((noescape
)) arr
, int size
);