commit | 7002f4c03c2d0544f4e8bea8d3a5636519081e35 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Apr 09 19:03:51 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Apr 09 19:03:51 2010 +0000 |
tree | a6acb1bd60450f617e378f663e829273e0b1aef3 | |
parent | fd2254405de977dcc706a4dc7775c44a4218a27b [diff] [blame] |
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
diff --git a/test/CodeGenCXX/instantiate-init-list.cpp b/test/CodeGenCXX/instantiate-init-list.cpp index 676d299..49c6f51 100644 --- a/test/CodeGenCXX/instantiate-init-list.cpp +++ b/test/CodeGenCXX/instantiate-init-list.cpp
@@ -5,7 +5,7 @@ }; void G(); template<class T> class A { - A(); +public: A(); }; template<class T> A<T>::A() { static F f = { G };