summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/operator-new.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/operator-new.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/operator-new.cpp')
-rw-r--r--clang/test/CodeGenCXX/operator-new.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/operator-new.cpp b/clang/test/CodeGenCXX/operator-new.cpp
index da64fc1b2d4..f718faebef0 100644
--- a/clang/test/CodeGenCXX/operator-new.cpp
+++ b/clang/test/CodeGenCXX/operator-new.cpp
@@ -6,6 +6,7 @@
class teste {
int A;
+public:
teste() : A(2) {}
};
OpenPOWER on IntegriCloud