From cc6ecc6afd719b1ac6a0b6bfb4674f7e85744ef3 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 5 Jan 2000 11:48:19 +0000 Subject: [PATCH] * g++.old-deja/g++.ns/koenig8.C: New test. From-SVN: r31239 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.old-deja/g++.ns/koenig8.C | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.ns/koenig8.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8f891d019b1..e350c0dcb7e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-01-05 Nathan Sidwell + + * g++.old-deja/g++.ns/koenig8.C: New test. + 2000-01-05 Nathan Sidwell * g++.old-deja/g++.other/cast4.C: New test. 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 00000000000..c7d6b4b176b --- /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 + +// caused an ICE determining whether to perform Koenig lookup +// when checking is enabled + +template void Zap (T); + +void V3 () +{ + Zap (1); +} +