aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/new-operator-phi.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-10 23:47:18 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-10 23:47:18 +0000
commitb03bfa55d03ca38922ffedac19225d0832e8d911 (patch)
tree945acd83aaefec693ba3af51b03f29ebdd43320e /test/CodeGenCXX/new-operator-phi.cpp
parenta0203800ea2f93b2ce00fae24d6deac57617268d (diff)
Diagnose illegally typed operator new/new[].
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/new-operator-phi.cpp')
-rw-r--r--test/CodeGenCXX/new-operator-phi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/new-operator-phi.cpp b/test/CodeGenCXX/new-operator-phi.cpp
index d4c698d063..03f528cfbe 100644
--- a/test/CodeGenCXX/new-operator-phi.cpp
+++ b/test/CodeGenCXX/new-operator-phi.cpp
@@ -1,7 +1,7 @@
// RUN: clang-cc -emit-llvm-only -verify %s
// PR5454
-class X {static void * operator new(unsigned size) throw(); X(int); };
+class X {static void * operator new(unsigned long size) throw(); X(int); };
int a(), b();
void b(int x)
{