summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/constructors.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
commit7002f4c03c2d0544f4e8bea8d3a5636519081e35 (patch)
treea6acb1bd60450f617e378f663e829273e0b1aef3 /test/CodeGenCXX/constructors.cpp
parentfd2254405de977dcc706a4dc7775c44a4218a27b (diff)
downloadclang-7002f4c03c2d0544f4e8bea8d3a5636519081e35.tar.gz
clang-7002f4c03c2d0544f4e8bea8d3a5636519081e35.tar.bz2
clang-7002f4c03c2d0544f4e8bea8d3a5636519081e35.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/constructors.cpp')
-rw-r--r--test/CodeGenCXX/constructors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/constructors.cpp b/test/CodeGenCXX/constructors.cpp
index 2c95c91e11..e0709055cd 100644
--- a/test/CodeGenCXX/constructors.cpp
+++ b/test/CodeGenCXX/constructors.cpp
@@ -12,7 +12,7 @@ struct ValueClass {
/* Test basic functionality. */
-class A {
+struct A {
A(struct Undeclared &);
A(ValueClass);
Member mem;