mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
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:
parent
1d1b0e56ce
commit
cb12c508cb
@ -15,3 +15,5 @@ struct bar : public foo {
|
||||
bar::bar() {
|
||||
|
||||
}
|
||||
|
||||
int main() { return 0; }
|
||||
|
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user