1 // RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-apple-darwin9
8 restrict S y; // expected-error {{restrict requires a pointer or reference ('S' (aka 'int *[2]') is invalid)}}
12 // int128_t is available.
24 // Array type merging should convert array size to whatever matches the target
31 extern int j[sizeof(enum e)]; // expected-note {{previous definition}}
32 int j[42]; // expected-error {{redefinition of 'j' with a different type}}
35 _Decimal32 x; // expected-error {{GNU decimal type extension not supported}}
39 int __attribute__ ((vector_size (8), vector_size (8))) v; // expected-error {{invalid vector element type}}
42 char c = (char __attribute__((align(8)))) i; // expected-error {{'align' attribute ignored when parsing type}}
45 // http://llvm.org/PR11082
47 // FIXME: This may or may not be the correct approach (no warning or error),
48 // but large amounts of Linux and FreeBSD code need this attribute to not be
49 // a hard error in order to work correctly.
51 char c = (char __attribute__((may_alias))) i;