3 // Copyright (C) 2007 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 22 Jul 2007 <nathan@codesourcery.com>
6 // Origin: Danny Boelens <danny.boelens@artwork-systems.com>
7 // PR 32839. Default arguments propagated through the type system to
13 enum Whatever {e1, e2};
15 static void Quux (int i = e1 | e2);
21 fun (); // { dg-error "too few arguments" }
26 DoIt (&TPL<int>::Quux);