summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/delete.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-09-21 08:36:56 +0000
committerJohn McCall <rjmccall@apple.com>2011-09-21 08:36:56 +0000
commitca82a82082edc982a1fb5fcfef2dd2c8cf9bc824 (patch)
tree5112a8844683e2aa6186e7372bebebe23fd73ba2 /test/CodeGenCXX/delete.cpp
parenta8a16d5234eb346513bb0b27368b8660feb33324 (diff)
downloadclang-ca82a82082edc982a1fb5fcfef2dd2c8cf9bc824.tar.gz
clang-ca82a82082edc982a1fb5fcfef2dd2c8cf9bc824.tar.bz2
clang-ca82a82082edc982a1fb5fcfef2dd2c8cf9bc824.tar.xz
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
Diffstat (limited to 'test/CodeGenCXX/delete.cpp')
-rw-r--r--test/CodeGenCXX/delete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/delete.cpp b/test/CodeGenCXX/delete.cpp
index 8ad76f8532..5a88f9f924 100644
--- a/test/CodeGenCXX/delete.cpp
+++ b/test/CodeGenCXX/delete.cpp
@@ -30,7 +30,7 @@ void t4(T *t) {
// PR5102
template <typename T>
class A {
- operator T *() const;
+ public: operator T *() const;
};
void f() {