Fix link errors by adding main's

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-06-16 12:25:11 +00:00
parent 1d1b0e56ce
commit cb12c508cb
2 changed files with 5 additions and 10 deletions

View File

@ -15,3 +15,5 @@ struct bar : public foo {
bar::bar() {
}
int main() { return 0; }

View File

@ -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; }