1// { dg-do assemble  }
2
3// Default arguments containing more than one non-nested explicit
4// template argument leads to parse error
5
6// This might be ill formed. See DR 325 (one proposed resolution is to make
7// it so)
8
9template <class T> class foo1;
10template <class T, class U> class foo2;
11
12struct bar {
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) {} // ok?
17};
18