summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/new-operator-phi.cpp
diff options
context:
space:
mode:
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 38467ad..49859ac 100644
--- a/test/CodeGenCXX/new-operator-phi.cpp
+++ b/test/CodeGenCXX/new-operator-phi.cpp
@@ -2,7 +2,7 @@
// PR5454
#include <stddef.h>
-class X {static void * operator new(size_t size) throw(); X(int); };
+struct X {static void * operator new(size_t size) throw(); X(int); };
int a(), b();
void b(int x)
{
OpenPOWER on IntegriCloud