diff options
Diffstat (limited to 'clang/test/SemaCXX/constructor.cpp')
-rw-r--r-- | clang/test/SemaCXX/constructor.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/constructor.cpp b/clang/test/SemaCXX/constructor.cpp index 1429cc64527..8f289a2b1e9 100644 --- a/clang/test/SemaCXX/constructor.cpp +++ b/clang/test/SemaCXX/constructor.cpp @@ -45,3 +45,16 @@ struct Length { 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); +} +} |