commit | 98341049a14443ad41927de25d8950936a39aedd | [log] [tgz] |
---|---|---|
author | Douglas Gregor <doug.gregor@gmail.com> | Fri Dec 12 08:25:50 2008 +0000 |
committer | Douglas Gregor <doug.gregor@gmail.com> | Fri Dec 12 08:25:50 2008 +0000 |
tree | ad5b69bcbb3f896a7e7a52ded70a4e36ffae405f | |
parent | 9be6aaf88fe677a1b46cb30a7e9a169e9f287d95 [diff] [blame] |
Enable out-of-line definitions of C++ constructors and destructors git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60947 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/constructor.cpp b/test/SemaCXX/constructor.cpp index fc398e2..4c4d67f 100644 --- a/test/SemaCXX/constructor.cpp +++ b/test/SemaCXX/constructor.cpp
@@ -18,3 +18,6 @@ int Foo(int, int); // expected-error{{constructor cannot have a return type}} }; + +Foo::Foo(const Foo&) { } +