Tweak test case so that the expected-error text matches on both i686 and x86-64.

llvm-svn: 72181
This commit is contained in:
Douglas Gregor 2009-05-20 20:30:46 +00:00
parent 76ae5dde51
commit c902c85b6c
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ template<typename VaList, typename ArgType>
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);