summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Analysis/pr37802.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Analysis/pr37802.cpp b/clang/test/Analysis/pr37802.cpp
index 647e389362c..9acfebaae86 100644
--- a/clang/test/Analysis/pr37802.cpp
+++ b/clang/test/Analysis/pr37802.cpp
@@ -2,7 +2,8 @@
// expected-no-diagnostics
-void *operator new(unsigned long, void *h) { return h; }
+typedef __typeof(sizeof(int)) size_t;
+void *operator new(size_t, void *h) { return h; }
// I've no idea what this code does, but it used to crash, so let's keep it.
namespace pr37802_v1 {
OpenPOWER on IntegriCloud