From: Chris Lattner Date: Mon, 16 Jun 2003 12:25:11 +0000 (+0000) Subject: Fix link errors by adding main's X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cb12c508cbdd377c56bdd831bc4e67f9fc06587a;p=oota-llvm.git Fix link errors by adding main's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6706 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/2003-06-08-BaseType.cpp b/test/C++Frontend/2003-06-08-BaseType.cpp index b78af2acb83..e10a5a63298 100644 --- a/test/C++Frontend/2003-06-08-BaseType.cpp +++ b/test/C++Frontend/2003-06-08-BaseType.cpp @@ -15,3 +15,5 @@ struct bar : public foo { bar::bar() { } + +int main() { return 0; } diff --git a/test/C++Frontend/2003-06-08-VirtualFunctions.cpp b/test/C++Frontend/2003-06-08-VirtualFunctions.cpp index ea32e196128..174e5144038 100644 --- a/test/C++Frontend/2003-06-08-VirtualFunctions.cpp +++ b/test/C++Frontend/2003-06-08-VirtualFunctions.cpp @@ -7,17 +7,10 @@ struct foo { }; struct bar : public foo { - //int x; bar(); int T() {} }; -//int bar::X() { return 0; } - -foo::foo() : y(4) { - -} - -bar::bar() { - -} +foo::foo() : y(4) { } +bar::bar() { } +int main() { return 0; }