diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-13 05:13:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-13 05:13:44 +0000 |
commit | 82afa2d97d39cc0d5a4897716ec0a80aeab9e14b (patch) | |
tree | ee3ed76ab5de5423a6933cd7bdf3f6c93c923e53 /test/Sema/types.c | |
parent | 8f12f65fad7bfbbdbd4234efe0d484f68c3924b6 (diff) |
Fix rdar://6880951 by rejecting vectors of vectors.
It seems dubious to me that isIntegerType() returns true for
vectors of integers, but not complex integers. This should
probably be rethought, I'll file a bugzilla.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/types.c')
-rw-r--r-- | test/Sema/types.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/types.c b/test/Sema/types.c index 1232e472ea..e7d4b00a4d 100644 --- a/test/Sema/types.c +++ b/test/Sema/types.c @@ -34,3 +34,6 @@ int j[42]; // expected-error {{redefinition of 'j' with a different type}} // rdar://6880104 _Decimal32 x; // expected-error {{GNU decimal type extension not supported}} + +// rdar://6880951 +int __attribute__ ((vector_size (8), vector_size (8))) v; // expected-error {{invalid vector type}} |