diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-10 03:01:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-10 03:01:36 +0000 |
commit | 1df5109f475bcbc528eb1fb9fdb179dcadbb33a6 (patch) | |
tree | ef613876a2162db4f5bc717ca55e4f07646310c0 /test/Sema/altivec-init.c | |
parent | fd6ad3cf9c8fc6904bd5f33212207aa69743fd45 (diff) |
Revert r78535, it is causing a number of failures to build projects.
--- Reverse-merging r78535 into '.':
D test/Sema/altivec-init.c
U include/clang/Basic/DiagnosticSemaKinds.td
U include/clang/AST/Expr.h
U include/clang/AST/StmtNodes.def
U include/clang/Parse/Parser.h
U include/clang/Parse/Action.h
U tools/clang-cc/clang-cc.cpp
U lib/Frontend/PrintParserCallbacks.cpp
U lib/CodeGen/CGExprScalar.cpp
U lib/Sema/SemaInit.cpp
U lib/Sema/Sema.h
U lib/Sema/SemaExpr.cpp
U lib/Sema/SemaTemplateInstantiateExpr.cpp
U lib/AST/StmtProfile.cpp
U lib/AST/Expr.cpp
U lib/AST/StmtPrinter.cpp
U lib/Parse/ParseExpr.cpp
U lib/Parse/ParseExprCXX.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/altivec-init.c')
-rw-r--r-- | test/Sema/altivec-init.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/Sema/altivec-init.c b/test/Sema/altivec-init.c deleted file mode 100644 index 6185186903..0000000000 --- a/test/Sema/altivec-init.c +++ /dev/null @@ -1,16 +0,0 @@ -// RUN: clang-cc %s -faltivec -verify -pedantic -fsyntax-only -fblocks=0 - -typedef int v4 __attribute((vector_size(16))); -typedef short v8 __attribute((vector_size(16))); - -v8 foo(void) { - v8 a; - v4 b; - a = (v8){4, 2}; // expected-error {{too few elements in vector initialization (expected 8 elements, have 2)}} - b = (v4)(5, 6, 7, 8, 9); // expected-warning {{excess elements in vector initializer}} - b = (v4)(5, 6, 8, 8.0f); - return (v8){0, 1, 2, 3, 1, 2, 3, 4}; - - // FIXME: test that (type)(fn)(args) still works with -faltivec - // FIXME: test that c++ overloaded commas still work -faltivec -} |