[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp 2003-06-08-VirtualFunctions.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jun 16 07:26:00 PDT 2003
Changes in directory llvm/test/Regression/C++Frontend:
2003-06-08-BaseType.cpp updated: 1.1 -> 1.2
2003-06-08-VirtualFunctions.cpp updated: 1.1 -> 1.2
---
Log message:
Fix link errors by adding main's
---
Diffs of the changes:
Index: llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp
diff -u llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp:1.1 llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp:1.2
--- llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp:1.1 Mon Jun 16 07:05:38 2003
+++ llvm/test/Regression/C++Frontend/2003-06-08-BaseType.cpp Mon Jun 16 07:25:11 2003
@@ -15,3 +15,5 @@
bar::bar() {
}
+
+int main() { return 0; }
Index: llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp
diff -u llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp:1.1 llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp:1.2
--- llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp:1.1 Mon Jun 16 07:05:38 2003
+++ llvm/test/Regression/C++Frontend/2003-06-08-VirtualFunctions.cpp Mon Jun 16 07:25:11 2003
@@ -7,17 +7,10 @@
};
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; }
More information about the llvm-commits
mailing list