From 0db2272aad16a09b8338626282b2ceb78645f205 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 20 May 2009 20:30:46 +0000 Subject: [PATCH] Tweak test case so that the expected-error text matches on both i686 and x86-64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72181 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaTemplate/instantiate-expr-3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SemaTemplate/instantiate-expr-3.cpp b/test/SemaTemplate/instantiate-expr-3.cpp index ba6c50312c..69d2fe715d 100644 --- a/test/SemaTemplate/instantiate-expr-3.cpp +++ b/test/SemaTemplate/instantiate-expr-3.cpp @@ -121,7 +121,7 @@ template struct VaArg1 { void f(int n, ...) { VaList va; - __builtin_va_start(va, n); // expected-error{{incompatible}} + __builtin_va_start(va, n); // expected-error{{int}} for (int i = 0; i != n; ++i) (void)__builtin_va_arg(va, ArgType); __builtin_va_end(va); -- 2.40.0