diff options
author | John McCall <rjmccall@apple.com> | 2010-08-27 19:56:05 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-27 19:56:05 +0000 |
commit | 1ababa63ded36f8ed6a3e55df8e26d9860ab2867 (patch) | |
tree | 05469b2e17dccc2c9b4b4906c472b665ffc42267 /clang/test/SemaTemplate/instantiate-clang.cpp | |
parent | 9bad2fb378803b34d911c35175803cf1c88386d6 (diff) | |
download | bcm5719-llvm-1ababa63ded36f8ed6a3e55df8e26d9860ab2867.tar.gz bcm5719-llvm-1ababa63ded36f8ed6a3e55df8e26d9860ab2867.zip |
Continue to instantiate sub-statements in a CompoundStmt as long as
we don't see a DeclStmt (failure to instantiate which generally causes
panic).
llvm-svn: 112282
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-clang.cpp')
-rw-r--r-- | clang/test/SemaTemplate/instantiate-clang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/instantiate-clang.cpp b/clang/test/SemaTemplate/instantiate-clang.cpp index cef2b7090bf..34d68c4e59f 100644 --- a/clang/test/SemaTemplate/instantiate-clang.cpp +++ b/clang/test/SemaTemplate/instantiate-clang.cpp @@ -24,7 +24,7 @@ template<typename T, typename U, int N, int M> struct ShuffleVector0 { void f(T t, U u, double2 a, double2 b) { (void)__builtin_shufflevector(t, u, N, M); // expected-error{{index}} - (void)__builtin_shufflevector(a, b, N, M); + (void)__builtin_shufflevector(a, b, N, M); // expected-error{{index}} (void)__builtin_shufflevector(a, b, 2, 1); } }; |