Author: aaronballman
Date: Wed May 29 21:17:14 2013
New Revision: 182907
URL: http://llvm.org/viewvc/llvm-project?rev=182907&view=rev
Log:
Switching the tests to use size_t instead of unsigned int to hopefully appease
the Linux x64 build bot (take 2, forgot this test case).
Modified:
cfe/trunk/test/SemaCXX/microsoft-new-delete.cpp
Modified: cfe/trunk/test/SemaCXX/microsoft-new-delete.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/microsoft-new-delete.cpp?rev=182907&r1=182906&r2=182907&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/microsoft-new-delete.cpp (original)
+++ cfe/trunk/test/SemaCXX/microsoft-new-delete.cpp Wed May 29 21:17:14 2013
@@ -1,8 +1,10 @@
// RUN: %clang_cc1 -fms-compatibility -fsyntax-only -verify %s
// expected-no-diagnostics
+#include <stddef.h>
+
struct arbitrary_t {} arbitrary;
-void *operator new(unsigned int size, arbitrary_t);
+void *operator new(size_t size, arbitrary_t);
void f() {
// Expect no error in MSVC compatibility mode
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits