[cfe-commits] r103900 - /cfe/trunk/test/SemaCXX/vararg-non-pod.cpp
Chris Lattner
sabre at nondot.org
Sat May 15 22:00:34 PDT 2010
Author: lattner
Date: Sun May 16 00:00:34 2010
New Revision: 103900
URL: http://llvm.org/viewvc/llvm-project?rev=103900&view=rev
Log:
really use valist.
Modified:
cfe/trunk/test/SemaCXX/vararg-non-pod.cpp
Modified: cfe/trunk/test/SemaCXX/vararg-non-pod.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/vararg-non-pod.cpp?rev=103900&r1=103899&r2=103900&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/vararg-non-pod.cpp (original)
+++ cfe/trunk/test/SemaCXX/vararg-non-pod.cpp Sun May 16 00:00:34 2010
@@ -94,6 +94,7 @@
// magic.
void t6(Foo somearg, ... ) {
- __builtin_va_start(0/*valist*/, somearg);
+ __builtin_va_list list;
+ __builtin_va_start(list, somearg);
}
More information about the cfe-commits
mailing list