summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-16 12:27:12 +0000
committerChris Lattner <sabre@nondot.org>2003-06-16 12:27:12 +0000
commit905e7344b694f5b684ec6f8a6a4eca3e34bc2080 (patch)
treecd61e8e92fcbed9ab3573ed172033030abc49c01 /test
parentcb12c508cbdd377c56bdd831bc4e67f9fc06587a (diff)
downloadllvm-905e7344b694f5b684ec6f8a6a4eca3e34bc2080.tar.gz
llvm-905e7344b694f5b684ec6f8a6a4eca3e34bc2080.tar.bz2
llvm-905e7344b694f5b684ec6f8a6a4eca3e34bc2080.tar.xz
Fix final linking errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/2003-06-08-BaseType.cpp7
-rw-r--r--test/C++Frontend/2003-06-13-Crasher.cpp2
2 files changed, 3 insertions, 6 deletions
diff --git a/test/C++Frontend/2003-06-08-BaseType.cpp b/test/C++Frontend/2003-06-08-BaseType.cpp
index e10a5a6329..ebae736ffd 100644
--- a/test/C++Frontend/2003-06-08-BaseType.cpp
+++ b/test/C++Frontend/2003-06-08-BaseType.cpp
@@ -10,10 +10,7 @@ struct bar : public foo {
bar();
};
-//int bar::X() { return 0; }
-
-bar::bar() {
-
-}
+bar::bar() { }
+foo::foo() { }
int main() { return 0; }
diff --git a/test/C++Frontend/2003-06-13-Crasher.cpp b/test/C++Frontend/2003-06-13-Crasher.cpp
index bce922c25b..e9f8ab1f90 100644
--- a/test/C++Frontend/2003-06-13-Crasher.cpp
+++ b/test/C++Frontend/2003-06-13-Crasher.cpp
@@ -1,4 +1,4 @@
-void bar();
+void bar(){}
void foo() {
struct TEST {