Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
67f496497532a8b58b8bae11772aea858124475c
/
.
/
test
/
Sema
/
types.c
blob: 40dfd89c4fdb07dcb4ab8a0df52f84203996b605 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -pedantic -verify
// rdar://6097662
typedef
int
(*
T
)[
2
];
restrict T x
;
typedef
int
*
S
[
2
];
restrict S y
;
// expected-error {{restrict requires a pointer or reference ('S' (aka 'int *[2]') is invalid)}}