diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp | 2 | ||||
| -rw-r--r-- | llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp | 13 |
2 files changed, 5 insertions, 10 deletions
diff --git a/llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp b/llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp index b78af2acb83..e10a5a63298 100644 --- a/llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp +++ b/llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp @@ -15,3 +15,5 @@ struct bar : public foo { bar::bar() { } + +int main() { return 0; } diff --git a/llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp b/llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp index ea32e196128..174e5144038 100644 --- a/llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp +++ b/llvm/test/Regression/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; } |

