aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2000-01-05 11:48:19 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-01-05 11:48:19 +0000
commitcc6ecc6afd719b1ac6a0b6bfb4674f7e85744ef3 (patch)
treec49a8b682711da4b27269ce5d89bdcdfc90a33d2 /gcc
parentf0b9bc6c88bdb801afd0a042180bfb40d93c9953 (diff)
downloadgcc-cc6ecc6afd719b1ac6a0b6bfb4674f7e85744ef3.zip
gcc-cc6ecc6afd719b1ac6a0b6bfb4674f7e85744ef3.tar.gz
gcc-cc6ecc6afd719b1ac6a0b6bfb4674f7e85744ef3.tar.bz2
* g++.old-deja/g++.ns/koenig8.C: New test.
From-SVN: r31239
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ns/koenig8.C14
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8f891d0..e350c0d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2000-01-05 Nathan Sidwell <nathan@acm.org>
+ * g++.old-deja/g++.ns/koenig8.C: New test.
+
+2000-01-05 Nathan Sidwell <nathan@acm.org>
+
* g++.old-deja/g++.other/cast4.C: New test.
Wed Jan 5 00:26:20 2000 Jeffrey A Law (law@cygnus.com)
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/koenig8.C b/gcc/testsuite/g++.old-deja/g++.ns/koenig8.C
new file mode 100644
index 0000000..c7d6b4b
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.ns/koenig8.C
@@ -0,0 +1,14 @@
+// Build don't link:
+// Copyright (C) 1999 Free Software Foundation, Inc.
+// Contributed by Nathan Sidwell 15 Dec 1999 <nathan@acm.org>
+
+// caused an ICE determining whether to perform Koenig lookup
+// when checking is enabled
+
+template<class T> void Zap (T);
+
+void V3 ()
+{
+ Zap (1);
+}
+