From b88a7c539369de2defd02c780f60e402003de865 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 21 Jun 2018 23:52:36 +0000 Subject: [PATCH] [x86] Fix a tiny bug in my test case in r335309 by marking that we don't expect any diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335310 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/builtins-x86.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Sema/builtins-x86.cpp b/test/Sema/builtins-x86.cpp index d6c03a8999..0f37f4a346 100644 --- a/test/Sema/builtins-x86.cpp +++ b/test/Sema/builtins-x86.cpp @@ -2,6 +2,7 @@ // // Ensure that when we use builtins in C++ code with templates that compute the // valid immediate, the dead code with the invalid immediate doesn't error. +// expected-no-diagnostics typedef short __v8hi __attribute__((__vector_size__(16))); @@ -20,4 +21,4 @@ template __v8hi test<3>(__v8hi); template __v8hi test<4>(__v8hi); template __v8hi test<5>(__v8hi); template __v8hi test<6>(__v8hi); -template __v8hi test<7>(__v8hi); \ No newline at end of file +template __v8hi test<7>(__v8hi); -- 2.40.0