diff options
Diffstat (limited to 'test/Sema/neon-vector-types.c')
-rw-r--r-- | test/Sema/neon-vector-types.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Sema/neon-vector-types.c b/test/Sema/neon-vector-types.c index d8dd41225a32..03f669eb8416 100644 --- a/test/Sema/neon-vector-types.c +++ b/test/Sema/neon-vector-types.c @@ -4,7 +4,7 @@ typedef float float32_t; typedef signed char poly8_t; typedef short poly16_t; -typedef unsigned long long uint64_t; +typedef unsigned __INT64_TYPE__ uint64_t; // Define some valid Neon types. typedef __attribute__((neon_vector_type(2))) int int32x2_t; @@ -23,7 +23,6 @@ typedef __attribute__((neon_vector_type(2, 4))) int only_one_arg; // expected-er typedef __attribute__((neon_vector_type(2.0))) int non_int_width; // expected-error{{'neon_vector_type' attribute requires an integer constant}} // Only certain element types are allowed. -typedef __attribute__((neon_vector_type(2))) double double_elt; // expected-error{{invalid vector element type}} typedef __attribute__((neon_vector_type(4))) void* ptr_elt; // expected-error{{invalid vector element type}} typedef __attribute__((neon_polyvector_type(4))) float32_t bad_poly_elt; // expected-error{{invalid vector element type}} struct aggr { signed char c; }; |