summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/new-operator-phi.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-04-09 19:03:51 +0000
committerJohn McCall <rjmccall@apple.com>2010-04-09 19:03:51 +0000
commit3155f573f5ad55a4838d7ea73bfa819ef6be82d3 (patch)
tree26212e7eec6d7423539bed5ea08f9cce24f1aca7 /clang/test/CodeGenCXX/new-operator-phi.cpp
parent7e4a4759295d6335f6e545466bf1933258227ad9 (diff)
downloadbcm5719-llvm-3155f573f5ad55a4838d7ea73bfa819ef6be82d3.tar.gz
bcm5719-llvm-3155f573f5ad55a4838d7ea73bfa819ef6be82d3.zip
Turn access control on by default in -cc1.
Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880
Diffstat (limited to 'clang/test/CodeGenCXX/new-operator-phi.cpp')
-rw-r--r--clang/test/CodeGenCXX/new-operator-phi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/new-operator-phi.cpp b/clang/test/CodeGenCXX/new-operator-phi.cpp
index 38467ad31f9..49859acf4fa 100644
--- a/clang/test/CodeGenCXX/new-operator-phi.cpp
+++ b/clang/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