commit | a08869355717369b38cf75f2c80961198f5fce2c | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Thu Apr 30 22:41:11 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Thu Apr 30 22:41:11 2009 +0000 |
tree | 0a15049670b4bde0d8af128a0a30f2034da9840b | |
parent | 590dc3c9ac360569a0328273fdd1899c288afa7f [diff] |
Rework the way we handle constructor decls to be less hacky and fix PR3948 completely. llvm-svn: 70516
diff --git a/clang/test/SemaCXX/constructor.cpp b/clang/test/SemaCXX/constructor.cpp index 1429cc6..8f289a2 100644 --- a/clang/test/SemaCXX/constructor.cpp +++ b/clang/test/SemaCXX/constructor.cpp
@@ -45,3 +45,16 @@ struct mmst_reg{ char mmst_reg[10]; }; + +// PR3948 +namespace PR3948 { +// PR3948 +class a { + public: + int b(int a()); +}; +int x(); +void y() { + a z; z.b(x); +} +}