summaryrefslogtreecommitdiff
path: root/test/Sema
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-11-20 01:35:23 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-11-20 01:35:23 +0000
commit898413e5f2795ed6deeb5eb98c4decb63cb7788c (patch)
tree2399cb2e069974ea2ef820407d8ca48e76b1e28f /test/Sema
parent67799d6c2a06fbf94fee8b5172bbcdf7510e4506 (diff)
downloadclang-898413e5f2795ed6deeb5eb98c4decb63cb7788c.tar.gz
Removing a custom error diagnostic and replacing it with a stock one. Added a test case to ensure the diagnostic was firing properly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema')
-rw-r--r--test/Sema/types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/types.c b/test/Sema/types.c
index dac0bfe9fe..0abd148ce1 100644
--- a/test/Sema/types.c
+++ b/test/Sema/types.c
@@ -72,3 +72,4 @@ typedef int __attribute__ ((ext_vector_type(8192))) x2; // expected-error {{vect
// no support for vector enum type
enum { e_2 } x3 __attribute__((vector_size(64))); // expected-error {{invalid vector element type}}
+int x4 __attribute__((ext_vector_type(64))); // expected-error {{'ext_vector_type' attribute only applies to types}}