]> granicus.if.org Git - clang/commitdiff
Switching the tests to use size_t instead of unsigned int to hopefully appease the...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 30 May 2013 02:17:14 +0000 (02:17 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 30 May 2013 02:17:14 +0000 (02:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182907 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/microsoft-new-delete.cpp

index 90b42edb18f9dd7ca0e8d4591d3993f0c41b1b26..e0d25dcd86f783a5bddd8beb2709b32b12f7c119 100644 (file)
@@ -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