aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2005-05-26 21:25:27 +0000
committerJanis Johnson <janis@gcc.gnu.org>2005-05-26 21:25:27 +0000
commit64008915ced5992f675b4d7a99abf62fc69b5bd6 (patch)
tree640db8005e4ee53e37e60a50092fd2c3f13047ec
parent5b3bcba2468542faf69d6fbd9a932b700c542053 (diff)
downloadgcc-64008915ced5992f675b4d7a99abf62fc69b5bd6.zip
gcc-64008915ced5992f675b4d7a99abf62fc69b5bd6.tar.gz
gcc-64008915ced5992f675b4d7a99abf62fc69b5bd6.tar.bz2
obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous semicolons.
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous semicolons. From-SVN: r100229
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/obj-c++.exp7
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8f6bd14..41a2801 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-26 Janis Johnson <janis187@us.ibm.com>
+
+ * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
+ remove extraneous semicolons.
+
2005-05-26 Ziemowit Laski <zlaski@apple.com>
* obj-c++.dg/comp-types-12.mm: New.
diff --git a/gcc/testsuite/lib/obj-c++.exp b/gcc/testsuite/lib/obj-c++.exp
index 2b7c944..e88e011 100644
--- a/gcc/testsuite/lib/obj-c++.exp
+++ b/gcc/testsuite/lib/obj-c++.exp
@@ -284,11 +284,12 @@ proc obj-c++_init { args } {
#
proc obj-c++_target_compile { source dest type options } {
- global tmpdir;
+ global tmpdir
+ global srcdir
global gpp_compile_options
global gluefile wrap_flags
- global ALWAYS_OBJCXXFLAGS;
- global OBJCXX_UNDER_TEST;
+ global ALWAYS_OBJCXXFLAGS
+ global OBJCXX_UNDER_TEST
lappend options "libs=-lobjc"