diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-27 00:27:47 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-27 00:27:47 +0000 |
commit | 0c6139d0c2497c4e8780340e0dc097de041f248e (patch) | |
tree | 15376f4313c0d0b94d1350cf5dc9a304fa8bdd00 /test/SemaCXX/using-decl-pr4441.cpp | |
parent | 4f596c2263e2e3be3000e10017cc0351eb8bb399 (diff) |
Make it possible for using decls to point to operators. Fixes PR4441.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/using-decl-pr4441.cpp')
-rw-r--r-- | test/SemaCXX/using-decl-pr4441.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/SemaCXX/using-decl-pr4441.cpp b/test/SemaCXX/using-decl-pr4441.cpp new file mode 100644 index 0000000000..6aa2b261e4 --- /dev/null +++ b/test/SemaCXX/using-decl-pr4441.cpp @@ -0,0 +1,8 @@ +// RUN: clang-cc -fsyntax-only -verify %s + +namespace A { + struct B { }; + void operator+(B,B); +} + +using A::operator+; |