blob: f9c879e9525d8941340dcc4afb46fcf67d4478c4 [file] [log] [blame]
// Core 1212
// { dg-do compile { target c++11 } }
template <class T, class U> struct assert_same_type;
template <class T> struct assert_same_type<T,T> {};
int main()
{
int i;
assert_same_type<int&&,decltype(static_cast<int&&>(i))>();
}