1 // { dg-do compile { target c++11 } }
3 template<typename T, typename U>
6 static const bool value = false;
10 struct is_same<T, T> {
11 static const bool value = true;
14 template<typename T = int> void f()
16 static_assert(is_same<T, int>::value,
17 "T can only be instantiated with an int");
20 template<typename T = int, typename U>
23 static_assert(is_same<T, int>::value,
24 "T can only be instantiated with an int");