* gcc.dg/20000419-2.c: Move to "special" subdirectory.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 04:19:31 +0000 (04:19 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 04:19:31 +0000 (04:19 +0000)
        * gcc.dg/special/20000419-2.c: New file. Identical to above.
        * gcc.dg/special/special.exp: New test driver which will check
        for alias support for the above test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38852 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/special/20000419-2.c [moved from gcc/testsuite/gcc.dg/20000419-2.c with 100% similarity]
gcc/testsuite/gcc.dg/special/special.exp [new file with mode: 0644]

index 82ccbab..48d6191 100644 (file)
@@ -1,3 +1,10 @@
+2001-01-08  Jonathan Larmour  <jlarmour@redhat.com>
+
+       * gcc.dg/20000419-2.c: Move to "special" subdirectory.
+        * gcc.dg/special/20000419-2.c: New file. Identical to above.
+        * gcc.dg/special/special.exp: New test driver which will check
+        for alias support for the above test.
+
 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
 
        * gcc.c-torture/execute/921202-1.c: Use STACK_SIZE to avoid
diff --git a/gcc/testsuite/gcc.dg/special/special.exp b/gcc/testsuite/gcc.dg/special/special.exp
new file mode 100644 (file)
index 0000000..25c4412
--- /dev/null
@@ -0,0 +1,40 @@
+#   Copyright (C) 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
+
+# Please email any bugs, comments, and/or additions to this file to:
+# jlarmour@redhat.com
+
+# This file was written by Jonathan Larmour (jlarmour@redhat.com).
+
+# GCC testsuite that uses the `dg.exp' driver.
+
+# Load support procs.
+load_lib gcc-dg.exp
+
+##############
+# 20000419-2.c
+##############
+
+dg-init
+switch [check_alias_available "$srcdir/$subdir/20000419-2.c"] {
+    yes     { dg-runtest "$srcdir/$subdir/20000419-2.c" "" "" }
+    no      { unsupported "20000419-2.c" }
+    default { fail "20000419-2.c" }
+}
+dg-finish
+
+
+### EOF special.exp