forked from OSchip/llvm-project
Tweak test case so that the expected-error text matches on both i686 and x86-64.
llvm-svn: 72181
This commit is contained in:
parent
76ae5dde51
commit
c902c85b6c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue