Add an UNSPEC_PROLOGUE_USE to prevent the link register from being considered dead.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / koenig8.C
blobc7d6b4b176bef3ad6a818e51192d9a6d2e96d3f5
1 // Build don't link:
2 // Copyright (C) 1999 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 15 Dec 1999 <nathan@acm.org>
5 // caused an ICE determining whether to perform Koenig lookup
6 // when checking is enabled
8 template<class T> void Zap (T);
10 void  V3 ()
12   Zap (1);