commit | ca82a82082edc982a1fb5fcfef2dd2c8cf9bc824 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Sep 21 08:36:56 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Sep 21 08:36:56 2011 +0000 |
tree | 5112a8844683e2aa6186e7372bebebe23fd73ba2 | |
parent | a8a16d5234eb346513bb0b27368b8660feb33324 [diff] [blame] |
Enforce access control for conversion operators used in contextual conversions (rather than just call-arguments). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140244 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/delete.cpp b/test/CodeGenCXX/delete.cpp index 8ad76f8..5a88f9f 100644 --- a/test/CodeGenCXX/delete.cpp +++ b/test/CodeGenCXX/delete.cpp
@@ -30,7 +30,7 @@ // PR5102 template <typename T> class A { - operator T *() const; + public: operator T *() const; }; void f() {