1 // { dg-do compile }
2 
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 4 Jan 2003 <nathan@codesourcery.com>
5 
6 // PR 9109. Ambiguity. [dcl.ambig.res]/7
7 
Foo(int (T))8 template <typename T> void Foo (int (T))
9 {
10   try {}
11   catch (int (T)) {}
12 }
13