3 // Default arguments containing more than one non-nested explicit
4 // template argument leads to parse error
6 // This might be ill formed. See DR 325 (which would like to make it
9 template <class T> class foo1;
10 template <class T, class U> class foo2; // { dg-error "" }
13 template <class T, class U>
14 bar(int i = foo1<T>::baz, // { dg-bogus "" } -
15 int j = int(foo2<T, U>::baz), // ok
16 int k = foo2<T, U>::baz) {} // { dg-error "" }