aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2003-06-08-VirtualFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/C++Frontend/2003-06-08-VirtualFunctions.cpp')
-rw-r--r--test/C++Frontend/2003-06-08-VirtualFunctions.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/test/C++Frontend/2003-06-08-VirtualFunctions.cpp b/test/C++Frontend/2003-06-08-VirtualFunctions.cpp
index ea32e19612..174e514403 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; }