* g++.old-deja/g++.ns/koenig8.C: New test.
From-SVN: r31239
This commit is contained in:
parent
f0b9bc6c88
commit
cc6ecc6afd
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
14
gcc/testsuite/g++.old-deja/g++.ns/koenig8.C
Normal file
14
gcc/testsuite/g++.old-deja/g++.ns/koenig8.C
Normal file
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user